value::serialize Method

Write the current JSON value as a double-byte string to a stream instance.

_ASYNCRTIMP void serialize(
   std::basic_ostream<utf16char> &stream
) const;

_ASYNCRTIMP void serialize(
   std::basic_ostream<char>& stream
) const;

Parameters

  • stream
    The stream that the JSON string representation should be written to.

Requirements

Header: json.h

Namespace: web::json

See Also

Reference

value Class