BloombergLP::baljsn::ParserUtil::getValue

Load into value the value parsed from JSON data.

Synopsis

Declared in <baljsn_parserutil.h>

static
int
getValue(
    bdlt::Datetime* value,
    std::string_view const& data);

Description

Load into the specified value the characters read from the specified data. Return 0 on success or a non-zero value on failure.

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
valuereceives the parsed value
dataJSON text to parse