Enum Type

Description

Type of JSON value.

Values

kNullType = 0

null

Mentioned in:

Internals / Data Layout {#DataLayout}

kFalseType = 1

false

kTrueType = 2

true

kObjectType = 3

object

Mentioned in:

Tutorial / Overloaded Constructors

Tutorial / Move Semantics {#MoveSemantics}

Internals / Data Layout {#DataLayout}

Faq / DOM and SAX

Examples / sortkeys.cpp

kArrayType = 4

array

Mentioned in:

Tutorial / Overloaded Constructors

Tutorial / Move Semantics {#MoveSemantics}

Tutorial / Move semantics and temporary values {#TemporaryValues}

Tutorial / Modify Array {#ModifyArray}

Internals / Data Layout {#DataLayout}

Examples / sortkeys.cpp

kStringType = 5

string

Mentioned in:

Internals / Data Layout {#DataLayout}

Internals / Short-String Optimization {#ShortString}

kNumberType = 6

number

Mentioned in:

Internals / Data Layout {#DataLayout}

Mentioned in

Source

Lines 729-737 in include/rapidjson/rapidjson.h.

enum Type {
    kNullType = 0,      //!< null
    kFalseType = 1,     //!< false
    kTrueType = 2,      //!< true
    kObjectType = 3,    //!< object
    kArrayType = 4,     //!< array 
    kStringType = 5,    //!< string
    kNumberType = 6     //!< number
};





Add Discussion as Guest

Log in