.TH "cereal::JSONOutputArchive::Options" 3 "Sat Oct 10 2026 08:08:15" "cereal" \" -*- nroff -*- .ad l .nh .SH NAME cereal::JSONOutputArchive::Options \- A class containing various advanced options for the JSON archive\&. .SH SYNOPSIS .br .PP .PP \fR#include \fP .SS "Public Types" .in +1c .ti -1c .RI "enum class \fBIndentChar\fP : char { \fBspace\fP = ' ', \fBtab\fP = '\\t', \fBnewline\fP = '\\n', \fBcarriage_return\fP = '\\r' }" .br .RI "The character to use for indenting\&. " .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBOptions\fP (int precision=JSONWriter::kDefaultMaxDecimalPlaces, \fBIndentChar\fP indentChar=IndentChar::space, unsigned int indentLength=4)" .br .RI "Specify specific options for the \fBJSONOutputArchive\fP\&. " .in -1c .SS "Static Public Member Functions" .in +1c .ti -1c .RI "static \fBOptions\fP \fBDefault\fP ()" .br .RI "Default options\&. " .ti -1c .RI "static \fBOptions\fP \fBNoIndent\fP ()" .br .RI "Default options with no indentation\&. " .in -1c .SS "Friends" .in +1c .ti -1c .RI "class \fBJSONOutputArchive\fP" .br .in -1c .SH "Detailed Description" .PP A class containing various advanced options for the JSON archive\&. .SH "Constructor & Destructor Documentation" .PP .SS "cereal::JSONOutputArchive::Options::Options (int precision = \fRJSONWriter::kDefaultMaxDecimalPlaces\fP, \fBIndentChar\fP indentChar = \fRIndentChar::space\fP, unsigned int indentLength = \fR4\fP)\fR [inline]\fP, \fR [explicit]\fP" .PP Specify specific options for the \fBJSONOutputArchive\fP\&. .PP \fBParameters\fP .RS 4 \fIprecision\fP The precision used for floating point numbers .br \fIindentChar\fP The type of character to indent with .br \fIindentLength\fP The number of indentChar to use for indentation (0 corresponds to no indentation) .RE .PP .SH "Author" .PP Generated automatically by Doxygen for cereal from the source code\&.