operator>> Operator (C++ REST SDK)

A standard std::istream operator to facilitate reading JSON values from streams.

Warning

This topic contains information for the C++ REST SDK 1.0 (codename "Casablanca"). If you are using a later version from the Codeplex Casablanca web page, then use the local documentation at https://casablanca.codeplex.com/documentation.

_ASYNCRTIMP utility::istream_t& operator >> (
   utility::istream_t &is,
   json::value &val
);

Parameters

  • is
    The input stream to read the JSON value from.

  • val
    The JSON value object read from the stream.

Return Value

The input stream object.

Requirements

Header: json.h

Namespace: web::json

See Also

Reference

web::json Namespace