value::serialize 方法

将当前 JSON 值作为双字节字符串写入流实例。

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

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

参数

  • stream
    JSON 字符串表示形式应写入的流。

要求

**标头:**json.h

**命名空间:**web::json

请参见

参考

value 类