value::as_string Method

Convert the JSON value to a C++ STL string, if and only if it is a string value.

_ASYNCRTIMP utility::string_t as_string() const;

Return Value

A C++ STL string representation of the value

Requirements

Header: json.h

Namespace: web::json

See Also

Reference

value Class