getValue overloads

Synopses

Declared in <baljsn_jsonparserutil.h>

Load into the specified value the characters read from the specified data. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isString())'

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

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

static
int
getValue(
    ParserUtil::DateOrDateTz* value,
    bdljsn::Json const& json);

Load into the specified value the characters read from the specified data. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isString())'

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

Load into the specified value the characters read from the specified data. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isString())'

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

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

static
int
getValue(
    ParserUtil::DatetimeOrDatetimeTz* value,
    bdljsn::Json const& json);

Load into the specified value the characters read from the specified data. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isString())'

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

Load into the specified value the characters read from the specified data. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isNumber())' or 'json.isString()' if the value is INF, ‐INF, or NaN.

static
int
getValue(
    bdldfp::Decimal64* value,
    bdljsn::Json const& json);

Load into the specified value the characters read from the specified data. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isNumber())'

static
int
getValue(
    bsls::Types::Int64* value,
    bdljsn::Json const& json);

Load into the specified value the characters read from the specified data. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isString())'

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

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

static
int
getValue(
    ParserUtil::TimeOrTimeTz* value,
    bdljsn::Json const& json);

Load into the specified value the characters read from the specified data. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isString())'

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

Load into the specified value the characters read from the specified data. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isNumber())'

static
int
getValue(
    bsls::Types::Uint64* value,
    bdljsn::Json const& json);

Load into the specified value the characters read from the specified data. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isBoolean())'

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

Load into the specified value the characters read from the specified data. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isNumber())'

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

Load into the specified value the characters read from the specified data. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isNumber())' or 'json.isString()' if the value is INF, ‐INF, or NaN.

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

Load into the specified value the characters read from the specified data. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isNumber())' or 'json.isString()' if the value is INF, ‐INF, or NaN.

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

Load into the specified value the characters read from the specified data. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isNumber())'

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

Load into the specified value the characters read from the specified data. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isNumber())'

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

Load into the specified value the characters read from the specified data. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isNumber())'

static
int
getValue(
    signed char* value,
    bdljsn::Json const& json);

Load into the specified value the characters read from the specified data. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isString())'

static
int
getValue(
    bsl::string* value,
    bdljsn::Json const& json);

Load into the specified value the characters read from the specified data. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isString())'

static
int
getValue(
    std::pmr::string* value,
    bdljsn::Json const& json);

Load into the specified value the characters read from the specified data. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isString())'

static
int
getValue(
    std::string* value,
    bdljsn::Json const& json);

Load into the specified value the characters read from the specified data. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isNumber())'

static
int
getValue(
    unsigned char* value,
    bdljsn::Json const& json);

Load into the specified value the characters read from the specified data. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isNumber())'

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

Load into the specified value the characters read from the specified data. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isNumber())'

static
int
getValue(
    unsigned short* value,
    bdljsn::Json const& json);

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

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

Created with MrDocs