Decode json into result, using the specified options.
Synopsis
Declared in <baljsn_datumutil.h>
static
int
decode(
bdld::ManagedDatum* result,
std::string_view const& json,
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 |
json |
JSON text to decode |
options |
decoding options |
Created with MrDocs