[#BloombergLP-baljsn-EncodingStyle]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::EncodingStyle
:relfileprefix: ../../
:mrdocs:

Enumeration of encoding style (COMPACT or PRETTY)&period;

== Synopsis

Declared in `&lt;baljsn&lowbar;encodingstyle&period;h&gt;`

[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&period;
| xref:BloombergLP/baljsn/EncodingStyle/Value.adoc[`Value`] 
| Encoding style enumerator values&period;
|===


== 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`&period;
| 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`&period; Return a reference to the modifiable `stream`&period;
| xref:BloombergLP/baljsn/EncodingStyle/toString.adoc[`toString`] 
| Return the string representation exactly matching the enumerator name corresponding to the specified enumeration `value`&period;
|===


== Static Data Members

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/baljsn/EncodingStyle/CLASS_NAME.adoc[`CLASS&lowbar;NAME`] 
| Name of this class&period;
| xref:BloombergLP/baljsn/EncodingStyle/ENUMERATOR_INFO_ARRAY.adoc[`ENUMERATOR&lowbar;INFO&lowbar;ARRAY`] 
| Enumerator metadata for this type&period;
|===


== Derived Classes

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlat_BasicEnumerationWrapper-0e8.adoc[`bdlat&lowbar;BasicEnumerationWrapper&lt;baljsn::EncodingStyle::Value&gt;`] 
| Specialize `bdlat&lowbar;BasicEnumerationWrapper` for `EncodingStyle&colon;&colon;Value`&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
