Load an unquoted string from JSON data into value.

Synopses

Declared in <baljsn_parserutil.h>

Load an unquoted string from JSON data into value.

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

Load an unquoted string from JSON data into value.

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

Load an unquoted string from JSON data into value.

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

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