Decode json into result, using the specified options.
Declared in <baljsn_datumutil.h>
static
int
decode(
bdld::ManagedDatum* result,
std::string_view const& json,
DatumDecoderOptions const& options);
Same as the preceding overload, using the specified options.
0 on success, and a negative value otherwise
| Name | Description |
|---|---|
| result | receives the decoded Datum |
| json | JSON text to decode |
| options | decoding options |