Load value into json using options.
Declared in <baljsn_jsonconverter.h>
template<class TYPE>
int
convert(
bdljsn::Json* json,
TYPE const& value,
ConvertToJsonOptions const& options = ConvertToJsonOptions());
Load into the specified json the specified value of (template parameter) TYPE using the specified options. Return 0 on success, and a non-zero value otherwise. An error is returned if TYPE is not a top-level Sequence, Choice, or Array. The prior value of json is reset.
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| json | JSON object to load |
| value | value to convert |
| options | conversion options |