BloombergLP::baljsn::JsonParserUtil::getValue

Load into the specified value the time with timezone from json.

Synopsis

Declared in <baljsn_jsonparserutil.h>

static
int
getValue(
    bdlt::TimeTz* value,
    bdljsn::Json const& json);

Description

Return 0 on success or a non-zero value on failure. The behavior is undefined unless json.isString().

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
valuereceives the parsed time with timezone
jsonJSON object supplying the value