Namespace for formatting styles used when writing a JSON document.

Synopsis

Declared in <bdljsn_writestyle.h>

struct WriteStyle;

Description

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.

Enums

Name

Description

Enum

Formatting styles for writing JSON text.

Static Member Functions

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.

Created with MrDocs