[#BloombergLP-bdljsn-StringUtil] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::StringUtil :relfileprefix: ../../ :mrdocs: This `struct` provides utility functions for converting between UTF‐8 sequences and JSON strings. == Synopsis Declared in `<bdljsn_stringutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- 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 [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdljsn/StringUtil/Flags.adoc[`Flags`] | Flags controlling JSON string reading behavior. |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdljsn/StringUtil/readString-09.adoc[`readString`] | Load into `value` the UTF‐8 equivalent of the JSON `string`. | xref:BloombergLP/bdljsn/StringUtil/readUnquotedString-0d.adoc[`readUnquotedString`] | Load into `value` the UTF‐8 equivalent of an unquoted JSON `string`. | xref:BloombergLP/bdljsn/StringUtil/writeString.adoc[`writeString`] | Write a JSON‐compliant encoding of `string` to `stream`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#