Rebel Fork Framework
JSONValue.h File Reference
#include <EASTL/map.h>
#include <utility>
#include "../Core/Variant.h"

Classes

class  Urho3D::JSONValue
 JSON value class. More...
 

Typedefs

using Urho3D::JSONArray = ea::vector< JSONValue >
 JSON array type.
 
using Urho3D::JSONObject = ea::map< ea::string, JSONValue >
 JSON object type.
 
using Urho3D::JSONObjectIterator = ea::map< ea::string, JSONValue >::iterator
 JSON object iterator.
 
using Urho3D::ConstJSONObjectIterator = ea::map< ea::string, JSONValue >::const_iterator
 Constant JSON object iterator.
 

Enumerations

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

Functions

JSONObjectIterator Urho3D::begin (JSONValue &value)
 Return iterator to the beginning.
 
ConstJSONObjectIterator Urho3D::begin (const JSONValue &value)
 Return iterator to the beginning.
 
JSONObjectIterator Urho3D::end (JSONValue &value)
 Return iterator to the end.
 
ConstJSONObjectIterator Urho3D::end (const JSONValue &value)
 Return iterator to the beginning.
 

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.