|
JSON Voorhees
Killer JSON for C++
|
Reads a JSON value from the input stream.
Parse JSON from some file.
| parse_options | Options specific to parsing the input – the indexing of source text into an AST. If unspecified, this is parse_options::create_default(). |
| extract_options | Options specific to extraction – transforming the AST into a jsonv::value. If unspecified, this is extract_options::create_default(). |
| parse_error | if the source text is invalid JSON. This is thrown for errors like unterminated strings, arrays, or stray literals. Errors of this category are described as an offset into input. |
| extract_error | if the AST can not be transformed into a jsonv::value. This is thrown for errors like an object with duplicate keys (note that the default jsonv::formats does not throw for this case). |
(std::istream&)