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

Name

Description

value

receives the string

data

JSON text to parse

Created with MrDocs