Classes | Macros | Enumerations
writer.h File Reference
#include "stream.h"
#include "internal/meta.h"
#include "internal/stack.h"
#include "internal/strfunc.h"
#include "internal/dtoa.h"
#include "internal/itoa.h"
#include "stringbuffer.h"
#include <new>

Go to the source code of this file.

Classes

class  Writer< OutputStream, SourceEncoding, TargetEncoding, StackAllocator, writeFlags >
 JSON writer. More...
 
struct  Writer< OutputStream, SourceEncoding, TargetEncoding, StackAllocator, writeFlags >::Level
 Information for each nested level. More...
 

Macros

#define RAPIDJSON_WRITE_DEFAULT_FLAGS   kWriteNoFlags
 
#define Z16   0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
 

Enumerations

enum  WriteFlag { kWriteNoFlags = 0, kWriteValidateEncodingFlag = 1, kWriteNanAndInfFlag = 2, kWriteDefaultFlags = RAPIDJSON_WRITE_DEFAULT_FLAGS }
 Combination of writeFlags. More...
 

Macro Definition Documentation

#define RAPIDJSON_WRITE_DEFAULT_FLAGS   kWriteNoFlags

Definition at line 61 of file writer.h.

#define Z16   0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

Enumeration Type Documentation

enum WriteFlag

Combination of writeFlags.

Enumerator
kWriteNoFlags 

No flags are set.

kWriteValidateEncodingFlag 

Validate encoding of JSON strings.

kWriteNanAndInfFlag 

Allow writing of Infinity, -Infinity and NaN.

kWriteDefaultFlags 

Default write flags. Can be customized by defining RAPIDJSON_WRITE_DEFAULT_FLAGS.

Definition at line 65 of file writer.h.

65  {
66  kWriteNoFlags = 0, //!< No flags are set.
67  kWriteValidateEncodingFlag = 1, //!< Validate encoding of JSON strings.
68  kWriteNanAndInfFlag = 2, //!< Allow writing of Infinity, -Infinity and NaN.
69  kWriteDefaultFlags = RAPIDJSON_WRITE_DEFAULT_FLAGS //!< Default write flags. Can be customized by defining RAPIDJSON_WRITE_DEFAULT_FLAGS
70 };
#define RAPIDJSON_WRITE_DEFAULT_FLAGS
Definition: writer.h:61
No flags are set.
Definition: writer.h:66
Default write flags. Can be customized by defining RAPIDJSON_WRITE_DEFAULT_FLAGS. ...
Definition: writer.h:69
Validate encoding of JSON strings.
Definition: writer.h:67
Allow writing of Infinity, -Infinity and NaN.
Definition: writer.h:68