Decode JSON from jsonBuffer into result, using the specified options.
Synopsis
Declared in <baljsn_datumutil.h>
static
int
decode(
bdld::ManagedDatum* result,
std::streambuf* jsonBuffer,
DatumDecoderOptions const& options);
Description
Same as the preceding overload, using the specified options.
Return Value
0 on success, and a negative value otherwise
Parameters
Name |
Description |
result |
receives the decoded |
jsonBuffer |
stream buffer providing JSON text |
options |
decoding options |
Created with MrDocs