Unity GAF Player  1.0
Tools for playing GAF animation inside Unity
 All Classes Files Functions Variables Enumerations Enumerator Properties Events
Public Member Functions | Static Public Member Functions | Properties | List of all members
JSONValue Class Reference

JSON value. More...

Public Member Functions

 JSONValue (JSONValueType type)
 
 JSONValue (string str)
 
 JSONValue (double number)
 
 JSONValue (JSONObject obj)
 
 JSONValue (JSONArray array)
 
 JSONValue (bool boolean)
 
 JSONValue (JSONValue value)
 Construct a copy of the JSONValue given as a parameter More...
 
override string ToString ()
 
Returns
String representation of this JSONValue
More...
 

Static Public Member Functions

static implicit operator JSONValue (string str)
 
Parameters
strString.
More...
 
static implicit operator JSONValue (double number)
 
Parameters
numberNumber.
More...
 
static implicit operator JSONValue (JSONObject obj)
 
Parameters
objObject.
More...
 
static implicit operator JSONValue (JSONArray array)
 
Parameters
arrayArray.
More...
 
static implicit operator JSONValue (bool boolean)
 
Parameters
booleanBoolean.
More...
 

Properties

JSONValueType Type [get, set]
 Gets or sets the type. More...
 
string Str [get, set]
 Gets or sets the string. More...
 
double Number [get, set]
 Gets or sets the number. More...
 
JSONObject Obj [get, set]
 Gets or sets the object. More...
 
JSONArray Array [get, set]
 Gets or sets the array. More...
 
bool Boolean [get, set]
 Gets or sets a value indicating whether this JSONValue is boolean. More...
 
JSONValue Parent [get, set]
 Gets or sets the parent. More...
 

Detailed Description

JSON value.

Constructor & Destructor Documentation

JSONValue.JSONValue ( JSONValueType  type)
JSONValue.JSONValue ( string  str)
JSONValue.JSONValue ( double  number)
JSONValue.JSONValue ( JSONObject  obj)
JSONValue.JSONValue ( JSONArray  array)
JSONValue.JSONValue ( bool  boolean)
JSONValue.JSONValue ( JSONValue  value)

Construct a copy of the JSONValue given as a parameter

Parameters
value

Member Function Documentation

static implicit JSONValue.operator JSONValue ( string  str)
static

Parameters
strString.

static implicit JSONValue.operator JSONValue ( double  number)
static

Parameters
numberNumber.

static implicit JSONValue.operator JSONValue ( JSONObject  obj)
static

Parameters
objObject.

static implicit JSONValue.operator JSONValue ( JSONArray  array)
static

Parameters
arrayArray.

static implicit JSONValue.operator JSONValue ( bool  boolean)
static

Parameters
booleanBoolean.

override string JSONValue.ToString ( )

Returns
String representation of this JSONValue

Property Documentation

JSONArray JSONValue.Array
getset

Gets or sets the array.

The array.

bool JSONValue.Boolean
getset

Gets or sets a value indicating whether this JSONValue is boolean.

true if boolean; otherwise, false.

double JSONValue.Number
getset

Gets or sets the number.

The number.

JSONObject JSONValue.Obj
getset

Gets or sets the object.

The object.

JSONValue JSONValue.Parent
getset

Gets or sets the parent.

The parent.

string JSONValue.Str
getset

Gets or sets the string.

The string.

JSONValueType JSONValue.Type
getset

Gets or sets the type.

The type.


The documentation for this class was generated from the following file: