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);

Load a quoted JSON string into value.

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

Load a quoted JSON string into value.

static
int
getQuotedString(
    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 unquoted string

data

JSON text containing a quoted string

Created with MrDocs