Load a quoted JSON string into value.
Synopsis
Declared in <baljsn_parserutil.h>
static
int
getQuotedString(
std::string* value,
std::string_view const& data);
Description
Load into the specified value the string value in the specified data. The string must be begin and end in " characters which are not part of the resulting value. 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 unquoted string |
data |
JSON text containing a quoted string |
Created with MrDocs