Enum WriteFlag

Description

Combination of writeFlags.

Values

kWriteNoFlags = 0

No flags are set.

Mentioned in:

Sax / Template {#WriterTemplate}

kWriteValidateEncodingFlag = 1

Validate encoding of JSON strings.

Mentioned in:

Sax / Template {#WriterTemplate}

kWriteNanAndInfFlag = 2

Allow writing of Infinity, -Infinity and NaN.

Mentioned in:

Sax / Template {#WriterTemplate}

kWriteDefaultFlags = RAPIDJSON_WRITE_DEFAULT_FLAGS

Default write flags. Can be customized by defining RAPIDJSON_WRITE_DEFAULT_FLAGS.

Mentioned in:

Sax / Template {#WriterTemplate}

Source

Lines 66-71 in include/rapidjson/writer.h.

enum WriteFlag {
    kWriteNoFlags = 0,              //!< No flags are set.
    kWriteValidateEncodingFlag = 1, //!< Validate encoding of JSON strings.
    kWriteNanAndInfFlag = 2,        //!< Allow writing of Infinity, -Infinity and NaN.
    kWriteDefaultFlags = RAPIDJSON_WRITE_DEFAULT_FLAGS  //!< Default write flags. Can be customized by defining RAPIDJSON_WRITE_DEFAULT_FLAGS
};





Add Discussion as Guest

Log in