Namespace for formatting styles used when writing a JSON document.
Declared in <bdljsn_writestyle.h>
struct WriteStyle;
This struct provides a namespace for enumerating the formatting styles that can be used for writing a JSON document. See Enum in the TYPES sub-section for details.
This class: * supports a complete set of enumeration operations
except for bdex serialization * is const thread-safe For terminology see bsldoc_glossary.
| Name | Description |
|---|---|
Enum | Formatting styles for writing JSON text. |
| Name | Description |
|---|---|
print | Write the string representation of the specified enumeration value to the specified output stream. |
toAscii | Return the string representation of the specified enumeration value. |