Load into value the value parsed from JSON data.

Synopsis

Declared in <baljsn_parserutil.h>

static
int
getValue(
    bdldfp::Decimal64* 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

Name

Description

value

receives the parsed value

data

JSON text to parse

Created with MrDocs