[#BloombergLP-baljsn-EncodingStyle] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::EncodingStyle :relfileprefix: ../../ :mrdocs: Enumeration of encoding style (COMPACT or PRETTY). == Synopsis Declared in `<baljsn_encodingstyle.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct EncodingStyle; ---- == Enums [cols="1,4"] |=== | Name| Description | xref:BloombergLP/baljsn/EncodingStyle/_04enum.adoc[`Unnamed enum`] | Enumerator count constant. | xref:BloombergLP/baljsn/EncodingStyle/Value.adoc[`Value`] | Encoding style enumerator values. |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/baljsn/EncodingStyle/fromInt.adoc[`fromInt`] | Load into the specified `result` the enumerator matching the specified `number`. Return 0 on success, and a non‐zero value with no effect on `result` otherwise (i.e., `number` does not match any enumerator). | xref:BloombergLP/baljsn/EncodingStyle/fromString-00.adoc[`fromString`] | `fromString` overloads | xref:BloombergLP/baljsn/EncodingStyle/print.adoc[`print`] | Write to the specified `stream` the string representation of the specified enumeration `value`. Return a reference to the modifiable `stream`. | xref:BloombergLP/baljsn/EncodingStyle/toString.adoc[`toString`] | Return the string representation exactly matching the enumerator name corresponding to the specified enumeration `value`. |=== == Static Data Members [cols="1,4"] |=== | Name| Description | xref:BloombergLP/baljsn/EncodingStyle/CLASS_NAME.adoc[`CLASS_NAME`] | Name of this class. | xref:BloombergLP/baljsn/EncodingStyle/ENUMERATOR_INFO_ARRAY.adoc[`ENUMERATOR_INFO_ARRAY`] | Enumerator metadata for this type. |=== == Derived Classes [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlat_BasicEnumerationWrapper-0e8.adoc[`bdlat_BasicEnumerationWrapper<baljsn::EncodingStyle::Value>`] | |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#