BloombergLP::bdljsn::StringUtil::readString

Load to the specified value the UTF-8 codepoint sequence equivalent to the specified (JSON) string (see []Strings)). Return 0 on success and a non-zero value otherwise. Optionally specify flags to request variances from certain rules of JSON decoding (see ).

Synopsis

Declared in <bdljsn_stringutil.h>

static
int
readString(
    bsl::string* value,
    std::string_view const& string,
    int flags = e_NONE);