Load the JSON representation of the Date value into json.
Declared in <baljsn_jsonformatter.h>
template<>
int
valueAsJson<Date>(
bdljsn::Json* json,
bdlt::Date const& value,
EncoderOptions const* options);
Return 0 on success and a non-zero value otherwise.
0 on success and a non-zero value otherwise
| Name | Description |
|---|---|
| json | JSON object to receive the encoded value |
| value | date value to encode |
| options | optional encoding options; null uses defaults |