[#BloombergLP-baljsn-ConvertToJsonOptions] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::ConvertToJsonOptions :relfileprefix: ../../ :mrdocs: Options for converting `bdlat` objects to `bdljsn::Json`. == Synopsis Declared in `<baljsn_converttojsonoptions.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class ConvertToJsonOptions; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/baljsn/ConvertToJsonOptions/2constructor.adoc[`ConvertToJsonOptions`] [.small]#[constructor]# | Create a `ConvertToJsonOptions` object having the default value. | xref:BloombergLP/baljsn/ConvertToJsonOptions/convertEmptyArrays.adoc[`convertEmptyArrays`] | Return the value of the `convertEmptyArrays` attribute of this object. | xref:BloombergLP/baljsn/ConvertToJsonOptions/convertNullElements.adoc[`convertNullElements`] | Return the value of the `convertNullElements` attribute of this object. | xref:BloombergLP/baljsn/ConvertToJsonOptions/print.adoc[`print`] | Format this object to the specified output `stream`. | xref:BloombergLP/baljsn/ConvertToJsonOptions/reset.adoc[`reset`] | Reset this object to the default value (i.e., its value upon default construction). | xref:BloombergLP/baljsn/ConvertToJsonOptions/setConvertEmptyArrays.adoc[`setConvertEmptyArrays`] | Set the `convertEmptyArrays` attribute of this object to the specified `value`. | xref:BloombergLP/baljsn/ConvertToJsonOptions/setConvertNullElements.adoc[`setConvertNullElements`] | Set the `convertNullElements` attribute to the specified `value`. |=== == Friends [cols="1,4"] |=== | Name| Description | `xref:BloombergLP/baljsn/hashAppend-0fd.adoc[BloombergLP::baljsn::hashAppend]` | Pass the specified `object` to the specified `hashAlg`. | `xref:BloombergLP/baljsn/operator_lshift-07e.adoc[BloombergLP::baljsn::operator<<]` | Format the specified `rhs` to the specified output `stream` and return a reference to the modifiable `stream`. | `xref:BloombergLP/baljsn/operator_not_eq-0a5.adoc[BloombergLP::baljsn::operator!=]` | Return `true` if the specified `lhs` and `rhs` attribute objects do not have the same value, and `false` otherwise. | `xref:BloombergLP/baljsn/operator_eq-0b7.adoc[BloombergLP::baljsn::operator==]` | Return `true` if the specified `lhs` and `rhs` attribute objects have the same value, and `false` otherwise. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#