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

Options for encoding `Datum` objects in the JSON format&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class DatumEncoderOptions;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/baljsn/DatumEncoderOptions/2constructor-08.adoc[`DatumEncoderOptions`]         [.small]#[constructor]#
| Constructors
| xref:BloombergLP/baljsn/DatumEncoderOptions/2destructor.adoc[`&#126;DatumEncoderOptions`] [.small]#[destructor]#
| Destroy this object&period;
| xref:BloombergLP/baljsn/DatumEncoderOptions/operator_assign.adoc[`operator&equals;`] 
| Assign to this object the value of the specified `rhs` object&period;
| xref:BloombergLP/baljsn/DatumEncoderOptions/encodeQuotedDecimal64.adoc[`encodeQuotedDecimal64`] 
| Return the value of the &quot;EncodeQuotedDecimal64&quot; attribute of this object&period;
| xref:BloombergLP/baljsn/DatumEncoderOptions/encodingStyle.adoc[`encodingStyle`] 
| Return the &quot;EncodingStyle&quot; attribute of this object&period;
| xref:BloombergLP/baljsn/DatumEncoderOptions/initialIndentLevel.adoc[`initialIndentLevel`] 
| Return the &quot;InitialIndentLevel&quot; attribute of this object&period;
| xref:BloombergLP/baljsn/DatumEncoderOptions/print.adoc[`print`] 
| Format this object to the specified output `stream`&period;
| xref:BloombergLP/baljsn/DatumEncoderOptions/reset.adoc[`reset`] 
| Reset this object to the default value (i&period;e&period;, its value upon default construction)&period;
| xref:BloombergLP/baljsn/DatumEncoderOptions/setEncodeQuotedDecimal64.adoc[`setEncodeQuotedDecimal64`] 
| Set the &quot;EncodeQuotedDecimal64&quot; attribute of this object to the specified `value`&period;
| xref:BloombergLP/baljsn/DatumEncoderOptions/setEncodingStyle.adoc[`setEncodingStyle`] 
| Set the &quot;EncodingStyle&quot; attribute of this object to the specified `value`&period;
| xref:BloombergLP/baljsn/DatumEncoderOptions/setInitialIndentLevel.adoc[`setInitialIndentLevel`] 
| Set the &quot;InitialIndentLevel&quot; attribute of this object to the specified `value`&period; The behavior is undefined unless `0 &lt;&equals; value`&period;
| xref:BloombergLP/baljsn/DatumEncoderOptions/setSpacesPerLevel.adoc[`setSpacesPerLevel`] 
| Set the &quot;SpacesPerLevel&quot; attribute of this object to the specified `value`&period; The behavior is undefined unless `0 &lt;&equals; value`&period;
| xref:BloombergLP/baljsn/DatumEncoderOptions/setStrictTypes.adoc[`setStrictTypes`] 
| Set the &quot;StrictTypes&quot; attribute of this object to the specified `value`&period;
| xref:BloombergLP/baljsn/DatumEncoderOptions/spacesPerLevel.adoc[`spacesPerLevel`] 
| Return the &quot;SpacesPerLevel&quot; attribute of this object&period;
| xref:BloombergLP/baljsn/DatumEncoderOptions/strictTypes.adoc[`strictTypes`] 
| Return the &quot;StrictTypes&quot; attribute of this object&period;
|===


== Static Data Members

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/baljsn/DatumEncoderOptions/s_DEFAULT_INITIALIZER_ENCODE_QUOTED_DECIMAL64.adoc[`s&lowbar;DEFAULT&lowbar;INITIALIZER&lowbar;ENCODE&lowbar;QUOTED&lowbar;DECIMAL64`] 
| Default value for the `encodeQuotedDecimal64` attribute&period;
| xref:BloombergLP/baljsn/DatumEncoderOptions/s_DEFAULT_INITIALIZER_ENCODING_STYLE.adoc[`s&lowbar;DEFAULT&lowbar;INITIALIZER&lowbar;ENCODING&lowbar;STYLE`] 
| Default value for the `encodingStyle` attribute&period;
| xref:BloombergLP/baljsn/DatumEncoderOptions/s_DEFAULT_INITIALIZER_INITIAL_INDENT_LEVEL.adoc[`s&lowbar;DEFAULT&lowbar;INITIALIZER&lowbar;INITIAL&lowbar;INDENT&lowbar;LEVEL`] 
| Default value for the `initialIndentLevel` attribute&period;
| xref:BloombergLP/baljsn/DatumEncoderOptions/s_DEFAULT_INITIALIZER_SPACES_PER_LEVEL.adoc[`s&lowbar;DEFAULT&lowbar;INITIALIZER&lowbar;SPACES&lowbar;PER&lowbar;LEVEL`] 
| Default value for the `spacesPerLevel` attribute&period;
| xref:BloombergLP/baljsn/DatumEncoderOptions/s_DEFAULT_INITIALIZER_STRICT_TYPES.adoc[`s&lowbar;DEFAULT&lowbar;INITIALIZER&lowbar;STRICT&lowbar;TYPES`] 
| Default value for the `strictTypes` attribute&period;
|===


== Non-Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/baljsn/operator_not_eq-06f.adoc[`operator!&equals;`]
| Return `true` if the specified `lhs` and `rhs` attribute objects do not have the same value, and `false` otherwise&period;
| xref:BloombergLP/baljsn/operator_eq-010.adoc[`operator&equals;&equals;`]
| Return `true` if the specified `lhs` and `rhs` attribute objects have the same value, and `false` otherwise&period;
|===


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