BloombergLP::baljsn::ParserUtil::getQuotedString

Load a quoted JSON string into value.

Synopses

Declared in <baljsn_parserutil.h>

Load a quoted JSON string into value.

static
int
getQuotedString(
    bsl::string* value,
    std::string_view const& data);
» more...

Load a quoted JSON string into value.

static
int
getQuotedString(
    std::pmr::string* value,
    std::string_view const& data);
» more...

Load a quoted JSON string into value.

static
int
getQuotedString(
    std::string* value,
    std::string_view const& data);
» more...

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
valuereceives the unquoted string
dataJSON text containing a quoted string