BloombergLP::baljsn::ParserUtil::getUnquotedString

Load an unquoted string from JSON data into value.

Synopsis

Declared in <baljsn_parserutil.h>

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

Description

Load into the specified value the string value in the specified data. Return 0 on success and a non-zero value otherwise.

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
valuereceives the string
dataJSON text to parse