#include <cstdlib>
#include <cstring>
#include <inttypes.h>
#include <cassert>
Classes | |
class | CrtAllocator |
C-runtime library allocator. More... | |
class | MemoryPoolAllocator< BaseAllocator > |
Default memory allocator used by the parser and DOM. More... | |
struct | UTF8< CharType > |
UTF-8 encoding. More... | |
struct | UTF16< CharType > |
UTF-16 encoding. More... | |
struct | UTF32< CharType > |
UTF-32 encoding. More... | |
struct | GenericStringStream< Encoding > |
Read-only string stream. More... | |
struct | GenericInsituStringStream< Encoding > |
A read-write string stream. More... | |
Namespaces | |
rapidjson | |
Constant Groups | |
rapidjson | |
Macros | |
#define | RAPIDJSON_LITTLEENDIAN 0 |
Little endian machine. More... | |
#define | RAPIDJSON_BIGENDIAN 1 |
Big endian machine. More... | |
#define | RAPIDJSON_ENDIAN RAPIDJSON_LITTLEENDIAN |
Endianness of the machine. More... | |
#define | RAPIDJSON_ASSERT(x) assert(x) |
Assertion. More... | |
#define | RAPIDJSON_MULTILINEMACRO_BEGIN do { |
#define | RAPIDJSON_MULTILINEMACRO_END } while((void)0, 0) |
Typedefs | |
typedef unsigned | SizeType |
Use 32-bit array/string indices even for 64-bit platform, instead of using size_t. More... | |
typedef GenericStringStream < UTF8<> > | StringStream |
typedef GenericInsituStringStream < UTF8<> > | InsituStringStream |
Enumerations | |
enum | Type { kNullType = 0, kFalseType = 1, kTrueType = 2, kObjectType = 3, kArrayType = 4, kStringType = 5, kNumberType = 6 } |
Type of JSON value. More... | |
Functions | |
template<typename Stream , typename Ch > | |
void | (Stream &stream, Ch c, size_t n) |
Put N copies of a character to a stream. More... | |
#define RAPIDJSON_ASSERT | ( | x) | assert(x) |
Assertion.
By default, rapidjson uses C assert() for assertion. User can override it by defining RAPIDJSON_ASSERT(x) macro.
var RAPIDJSON_ASSERT | ( | var) | assert(x) |
Assertion.
By default, rapidjson uses C assert() for assertion. User can override it by defining RAPIDJSON_ASSERT(x) macro.
local RAPIDJSON_ASSERT | ( | local) | assert(x) |
Assertion.
By default, rapidjson uses C assert() for assertion. User can override it by defining RAPIDJSON_ASSERT(x) macro.
#define RAPIDJSON_BIGENDIAN 1 |
Big endian machine.
var RAPIDJSON_BIGENDIAN 1 |
Big endian machine.
local RAPIDJSON_BIGENDIAN 1 |
Big endian machine.
#define RAPIDJSON_ENDIAN RAPIDJSON_LITTLEENDIAN |
Endianness of the machine.
GCC provided macro for detecting endianness of the target machine. But other compilers may not have this. User can define RAPIDJSON_ENDIAN to either RAPIDJSON_LITTLEENDIAN or RAPIDJSON_BIGENDIAN.
var RAPIDJSON_ENDIAN RAPIDJSON_LITTLEENDIAN |
Endianness of the machine.
GCC provided macro for detecting endianness of the target machine. But other compilers may not have this. User can define RAPIDJSON_ENDIAN to either RAPIDJSON_LITTLEENDIAN or RAPIDJSON_BIGENDIAN.
local RAPIDJSON_ENDIAN RAPIDJSON_LITTLEENDIAN |
Endianness of the machine.
GCC provided macro for detecting endianness of the target machine. But other compilers may not have this. User can define RAPIDJSON_ENDIAN to either RAPIDJSON_LITTLEENDIAN or RAPIDJSON_BIGENDIAN.
#define RAPIDJSON_LITTLEENDIAN 0 |
Little endian machine.
var RAPIDJSON_LITTLEENDIAN 0 |
Little endian machine.
local RAPIDJSON_LITTLEENDIAN 0 |
Little endian machine.
#define RAPIDJSON_MULTILINEMACRO_BEGIN do { |
var RAPIDJSON_MULTILINEMACRO_BEGIN do { |
local RAPIDJSON_MULTILINEMACRO_BEGIN do { |
#define RAPIDJSON_MULTILINEMACRO_END } while((void)0, 0) |
var RAPIDJSON_MULTILINEMACRO_END } while((void)0, 0) |
local RAPIDJSON_MULTILINEMACRO_END } while((void)0, 0) |