Parse a json blob out of a range and produce a dynamic representing it.
Synopses
Declared in <folly/json/json.h>
Parse a json blob out of a range and produce a dynamic representing it.
dynamic
parseJson(StringPiece range);
Parse a json blob out of a range and produce a dynamic representing it.
dynamic
parseJson(
StringPiece range,
json::serialization_opts const& opts);
Return Value
The parsed dynamic value.
Parameters
Name |
Description |
range |
The JSON text to parse. |
opts |
The serialization options controlling parsing. |
Created with MrDocs