getValue overloads

Synopses

Declared in <baljsn_parserutil.h>

Load into value the value parsed from JSON data.

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

Load into value the value parsed from JSON data.

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

Load into value the value parsed from JSON data.

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

Load into value the value parsed from JSON data.

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

Load into value the value parsed from JSON data.

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

Load into value the value parsed from JSON data.

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

Load into value the value parsed from JSON data.

static
int
getValue(
    bdldfp::Decimal64* value,
    std::string_view const& data);

Load into value the value parsed from JSON data.

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

Load into value the value parsed from JSON data.

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

Load into value the value parsed from JSON data.

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

Load into value the value parsed from JSON data.

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

Load into value the value parsed from JSON data.

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

Load into value the value parsed from JSON data.

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

Load into value the value parsed from JSON data.

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

Load into value the value parsed from JSON data.

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

Load into value the value parsed from JSON data.

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

Load into value the value parsed from JSON data.

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

Load into value the value parsed from JSON data.

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

Load into value the value parsed from JSON data.

static
int
getValue(
    signed char* value,
    std::string_view const& data);

Load a quoted JSON string into value.

static
int
getValue(
    bsl::string* value,
    std::string_view const& data);

Load into value the value parsed from JSON data.

static
int
getValue(
    std::pmr::string* value,
    std::string_view const& data);

Load into value the value parsed from JSON data.

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

Load into value the value parsed from JSON data.

static
int
getValue(
    unsigned char* value,
    std::string_view const& data);

Load into value the value parsed from JSON data.

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

Load into value the value parsed from JSON data.

static
int
getValue(
    unsigned long* value,
    std::string_view const& data);

Load into value the value parsed from JSON data.

static
int
getValue(
    unsigned long long* value,
    std::string_view const& data);

Load into value the value parsed from JSON data.

static
int
getValue(
    unsigned short* value,
    std::string_view const& data);

Load into value the value parsed from JSON data.

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

Return Value

0 on success, and a non‐zero value otherwise

Parameters

Name

Description

value

receives the parsed value

data

JSON text to parse

Created with MrDocs