operator>> 运算符 (C++ REST SDK)

标准 std::istream 运算符,有助于从流读取 JSON 值。

警告

本主题包含有关 C++ REST SDK 1.0 (codename "Casablanca") 的信息。如果你正在从 Codeplex Casablanca 网页 使用更高版本,则使用 http://casablanca.codeplex.com/documentation 上的本地文档。

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

参数

  • is
    从其中读取 JSON 值的输入流。

  • val
    从流中读取的 JSON 值对象。

返回值

输入流对象。

要求

**标头:**json.h

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

请参见

参考

web::json 命名空间