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