Export (0) Print
Expand All

http_response::extract_json Method

Visual Studio 2013

Extracts the body of the response message into a json value, checking that the content type is application\json. A body can only be extracted once because in some cases an optimization is made where the data is 'moved' out.

pplx::task<json::value> extract_json() const;

JSON value from the body of this message.

Header: http_msg.h

Namespace: web::http

Show:
© 2015 Microsoft