Compartilhar via


value::parse Method

Constructor creating a JSON value from an input stream, by parsing its contents.

_ASYNCRTIMP static value parse(
   utility::istream_t &input
);

_ASYNCRTIMP static value parse(
   std::istream& stream
);

_ASYNCRTIMP static value parse(
   utility::string_t
);

Parameters

  • input
    The stream to read the JSON value from

  • stream
    The stream to read the JSON value from

Return Value

The JSON value object created from the input stream.

Requirements

Header: json.h

Namespace: web::json

See Also

Reference

value Class