Load into value the UTF‐8 equivalent of the JSON string.
Synopses
Declared in <bdljsn_stringutil.h>
Load into value the UTF‐8 equivalent of the JSON string.
static
int
readString(
bsl::string* value,
std::string_view const& string,
int flags = e_NONE);
Load into value the UTF‐8 equivalent of the JSON string.
static
int
readString(
std::pmr::string* value,
std::string_view const& string,
int flags = e_NONE);
Load into value the UTF‐8 equivalent of the JSON string.
static
int
readString(
std::string* value,
std::string_view const& string,
int flags = e_NONE);
Return Value
0 on success, and a non‐zero value otherwise
Parameters
Name |
Description |
value |
receives the decoded UTF‐8 string |
string |
JSON string to decode (including quotes) |
flags |
optional decoding variance flags |
Created with MrDocs