Load a value‐semantic representation of JSON text into result.
Synopses
Declared in <bdljsn_jsonutil.h>
Load a value‐semantic representation of JSON text into result.
Load a value‐semantic representation of JSON text into result.
Load a value‐semantic representation of JSON text into result.
Load a value‐semantic representation of JSON text into result.
static
int
read(
Json* result,
std::istream& input,
ReadOptions const& options);
Load a value‐semantic representation of JSON text into result.
static
int
read(
Json* result,
std::string_view const& input,
ReadOptions const& options);
Load a value‐semantic representation of JSON text into result.
Load a value‐semantic representation of JSON text into result.
Load a value‐semantic representation of JSON text into result.
Load a value‐semantic representation of JSON text into result.
static
int
read(
Json* result,
std::streambuf* input,
ReadOptions const& options);
Load a value‐semantic representation of JSON text into result.
static
int
read(
Json* result,
Error* errorDescription,
std::istream& input,
ReadOptions const& options);
Load a value‐semantic representation of JSON text into result.
static
int
read(
Json* result,
Error* errorDescription,
std::string_view const& input,
ReadOptions const& options);
Load a value‐semantic representation of JSON text into result.
static
int
read(
Json* result,
Error* errorDescription,
std::streambuf* input,
ReadOptions const& options);
Return Value
0 on success, and a non‐zero value otherwise
Parameters
Name |
Description |
result |
object to receive the parsed JSON |
input |
stream supplying JSON text |
options |
options controlling JSON parsing |
errorDescription |
receives a description if parsing fails |
Created with MrDocs