Load the JSON representation of value into the specified json.
Synopsis
Declared in <baljsn_jsonformatter.h>
template<class TYPE>
static
int
valueAsJson(
bdljsn::Json* json,
TYPE const& value,
EncoderOptions const* options);
Description
Optionally use the specified options. Return 0 on success and a non‐zero value otherwise.
Specializations
Name |
Description |
Load the JSON representation of the |
|
Load the JSON representation of the |
|
Load the JSON representation of the |
|
Load the JSON representation of the |
|
Load the JSON representation of the |
|
Load the JSON representation of the |
|
Load the JSON representation of the |
|
Load the JSON representation of the |
|
Load the JSON representation of the |
|
Load the JSON representation of the |
Return Value
0 on success and a non‐zero value otherwise
Parameters
Name |
Description |
json |
JSON object to receive the encoded value |
value |
value to encode as JSON |
options |
optional encoding options; null uses defaults |
Created with MrDocs