BloombergLP::bdljsn::StringUtil

This struct provides utility functions for converting between UTF-8 sequences and JSON strings.

Synopsis

Declared in <bdljsn_stringutil.h>

struct StringUtil;

Description

This class provides utility functions for converting arbitrary UTF-8 sequences into JSON strings and visa versa. See []Strings) for details of these transformations.

Enums

NameDescription
Flags Flags controlling JSON string reading behavior.

Static Member Functions

NameDescription
readString Load into value the UTF-8 equivalent of the JSON string.
readUnquotedString Load into value the UTF-8 equivalent of an unquoted JSON string.
writeString Write a JSON-compliant encoding of string to stream.