BloombergLP::baljsn::ConvertToJsonOptions

Options for converting bdlat objects to bdljsn::Json.

Synopsis

Declared in <baljsn_converttojsonoptions.h>

class ConvertToJsonOptions;

Member Functions

NameDescription
ConvertToJsonOptions [constructor]Create a ConvertToJsonOptions object having the default value.
convertEmptyArrays Return the value of the convertEmptyArrays attribute of this object.
convertNullElements Return the value of the convertNullElements attribute of this object.
print Format this object to the specified output stream.
reset Reset this object to the default value (i.e., its value upon default construction).
setConvertEmptyArrays Set the convertEmptyArrays attribute of this object to the specified value.
setConvertNullElements Set the convertNullElements attribute to the specified value.

Friends

NameDescription
BloombergLP::baljsn::hashAppendPass the specified object to the specified hashAlg.
BloombergLP::baljsn::operator<<Format the specified rhs to the specified output stream and return a reference to the modifiable stream.
BloombergLP::baljsn::operator!=Return true if the specified lhs and rhs attribute objects do not have the same value, and false otherwise.
BloombergLP::baljsn::operator==Return true if the specified lhs and rhs attribute objects have the same value, and false otherwise.