Dry
Classes | Typedefs | Enumerations
JSONValue.h File Reference
#include "../Core/Variant.h"

Classes

class  Dry::JSONValue
 JSON value class. More...
 

Typedefs

using Dry::JSONArray = Vector< JSONValue >
 JSON array type.
 
using Dry::JSONObject = HashMap< String, JSONValue >
 JSON object type.
 
using Dry::JSONObjectIterator = JSONObject::Iterator
 JSON object iterator.
 
using Dry::ConstJSONObjectIterator = JSONObject::ConstIterator
 Constant JSON object iterator.
 

Enumerations

enum  Dry::JSONValueType {
  Dry::JSON_NULL = 0, Dry::JSON_BOOL, Dry::JSON_NUMBER, Dry::JSON_STRING,
  Dry::JSON_ARRAY, Dry::JSON_OBJECT
}
 JSON value type. More...
 
enum  Dry::JSONNumberType { Dry::JSONNT_NAN = 0, Dry::JSONNT_INT, Dry::JSONNT_UINT, Dry::JSONNT_FLOAT_DOUBLE }
 JSON number type. More...
 

Enumeration Type Documentation

◆ JSONNumberType

JSON number type.

Enumerator
JSONNT_NAN 

Not a number.

JSONNT_INT 

Integer.

JSONNT_UINT 

Unsigned integer.

JSONNT_FLOAT_DOUBLE 

Float or double.

◆ JSONValueType

JSON value type.

Enumerator
JSON_NULL 

JSON null type.

JSON_BOOL 

JSON boolean type.

JSON_NUMBER 

JSON number type.

JSON_STRING 

JSON string type.

JSON_ARRAY 

JSON array type.

JSON_OBJECT 

JSON object type.