BloombergLP::baljsn::JsonParserUtil::getValue

Load into the specified value the Base64-decoded bytes from data.

Synopsis

Declared in <baljsn_jsonparserutil.h>

static
int
getValue(
    bsl::vector<char>* value,
    bdljsn::Json const& data);

Description

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 decoded byte vector
dataJSON object supplying the Base64 string