Load a value-semantic representation of JSON text into result.
Declared in <bdljsn_jsonutil.h>
static
int
read(
Json* result,
Error* errorDescription,
std::istream& input);
Return 0 on success and a non-zero value otherwise. See the first read overload for full contract details.
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| result | object to receive the parsed JSON |
| errorDescription | receives a description if parsing fails |
| input | stream supplying JSON text |