![]() |
Interhaptics SDK for Unity 1.6
|
Classes | |
struct | Enumerator |
struct | KeyEnumerator |
class | LinqEnumerator |
struct | ValueEnumerator |
Public Member Functions | |
virtual void | Add (string aKey, JSONNode aItem) |
virtual void | Add (JSONNode aItem) |
virtual JSONNode | Remove (string aKey) |
virtual JSONNode | Remove (int aIndex) |
virtual JSONNode | Remove (JSONNode aNode) |
virtual JSONNode | Clone () |
virtual bool | HasKey (string aKey) |
virtual JSONNode | GetValueOrDefault (string aKey, JSONNode aDefault) |
override string | ToString () |
virtual string | ToString (int aIndent) |
Enumerator | GetEnumerator () |
override bool | Equals (object obj) |
override int | GetHashCode () |
Static Public Member Functions | |
static implicit | operator JSONNode (string s) |
static implicit | operator string (JSONNode d) |
static implicit | operator JSONNode (double n) |
static implicit | operator double (JSONNode d) |
static implicit | operator JSONNode (float n) |
static implicit | operator float (JSONNode d) |
static implicit | operator JSONNode (int n) |
static implicit | operator int (JSONNode d) |
static implicit | operator JSONNode (long n) |
static implicit | operator long (JSONNode d) |
static implicit | operator JSONNode (bool b) |
static implicit | operator bool (JSONNode d) |
static implicit | operator JSONNode (KeyValuePair< string, JSONNode > aKeyValue) |
static bool | operator== (JSONNode a, object b) |
static bool | operator!= (JSONNode a, object b) |
static JSONNode | Parse (string aJSON) |
Static Public Attributes | |
static bool | forceASCII = false |
static bool | longAsString = false |
static bool | allowLineComments = true |
Properties | |
JSONNodeType | Tag [get] |
virtual JSONNode | this[int aIndex] [get, set] |
virtual JSONNode | this[string aKey] [get, set] |
virtual string | Value [get, set] |
virtual int | Count [get] |
virtual bool | IsNumber [get] |
virtual bool | IsString [get] |
virtual bool | IsBoolean [get] |
virtual bool | IsNull [get] |
virtual bool | IsArray [get] |
virtual bool | IsObject [get] |
virtual bool | Inline [get, set] |
virtual IEnumerable< JSONNode > | Children [get] |
IEnumerable< JSONNode > | DeepChildren [get] |
IEnumerable< KeyValuePair< string, JSONNode > > | Linq [get] |
KeyEnumerator | Keys [get] |
ValueEnumerator | Values [get] |
virtual double | AsDouble [get, set] |
virtual int | AsInt [get, set] |
virtual float | AsFloat [get, set] |
virtual bool | AsBool [get, set] |
virtual long | AsLong [get, set] |
virtual JSONArray | AsArray [get] |
virtual JSONObject | AsObject [get] |
Definition at line 63 of file SimpleJSON.cs.
|
virtual |
|
virtual |
Reimplemented in SimpleJSON.JSONArray, and SimpleJSON.JSONObject.
Definition at line 190 of file SimpleJSON.cs.
Referenced by SimpleJSON.JSONArray.Add(), SimpleJSON.JSONNode.Add(), SimpleJSON.JSONObject.Add(), and SimpleJSON.JSONNode.Parse().
|
virtual |
Reimplemented in SimpleJSON.JSONArray, SimpleJSON.JSONBool, SimpleJSON.JSONNull, SimpleJSON.JSONNumber, SimpleJSON.JSONObject, and SimpleJSON.JSONString.
Definition at line 213 of file SimpleJSON.cs.
override bool SimpleJSON.JSONNode.Equals | ( | object | obj | ) |
Definition at line 426 of file SimpleJSON.cs.
Referenced by SimpleJSON.JSONNode.operator==().
|
abstract |
Referenced by SimpleJSON.JSONNode.LinqEnumerator.Reset().
override int SimpleJSON.JSONNode.GetHashCode | ( | ) |
Definition at line 431 of file SimpleJSON.cs.
Reimplemented in SimpleJSON.JSONObject.
Definition at line 241 of file SimpleJSON.cs.
|
virtual |
Reimplemented in SimpleJSON.JSONObject.
Definition at line 236 of file SimpleJSON.cs.
|
static |
Definition at line 400 of file SimpleJSON.cs.
References SimpleJSON.JSONNode.AsBool.
|
static |
Definition at line 362 of file SimpleJSON.cs.
References SimpleJSON.JSONNode.AsDouble.
|
static |
Definition at line 371 of file SimpleJSON.cs.
References SimpleJSON.JSONNode.AsFloat.
|
static |
Definition at line 380 of file SimpleJSON.cs.
References SimpleJSON.JSONNode.AsInt.
|
static |
Definition at line 396 of file SimpleJSON.cs.
|
static |
Definition at line 358 of file SimpleJSON.cs.
|
static |
Definition at line 367 of file SimpleJSON.cs.
|
static |
Definition at line 376 of file SimpleJSON.cs.
|
static |
Definition at line 405 of file SimpleJSON.cs.
References SimpleJSON.JSONNode.Value.
|
static |
Definition at line 385 of file SimpleJSON.cs.
References SimpleJSON.JSONNode.longAsString.
|
static |
Definition at line 349 of file SimpleJSON.cs.
|
static |
Definition at line 391 of file SimpleJSON.cs.
References SimpleJSON.JSONNode.AsLong.
|
static |
Definition at line 353 of file SimpleJSON.cs.
References SimpleJSON.JSONNode.Value.
|
static |
Definition at line 421 of file SimpleJSON.cs.
|
static |
Definition at line 410 of file SimpleJSON.cs.
References SimpleJSON.JSONNode.Equals().
|
static |
Definition at line 512 of file SimpleJSON.cs.
References SimpleJSON.JSONNode.Add(), SimpleJSON.JSONNode.allowLineComments, SimpleJSON.JSONNode.Parse(), and SimpleJSON.JSONNode.ToString().
Referenced by SimpleJSON.JSONNode.Parse().
|
virtual |
Reimplemented in SimpleJSON.JSONArray, and SimpleJSON.JSONObject.
Definition at line 203 of file SimpleJSON.cs.
Reimplemented in SimpleJSON.JSONArray, and SimpleJSON.JSONObject.
Definition at line 208 of file SimpleJSON.cs.
|
virtual |
Reimplemented in SimpleJSON.JSONObject.
Definition at line 198 of file SimpleJSON.cs.
Referenced by SimpleJSON.JSONArray.Remove(), SimpleJSON.JSONObject.Remove(), SimpleJSON.JSONObject.Remove(), and SimpleJSON.JSONObject.Remove().
override string SimpleJSON.JSONNode.ToString | ( | ) |
Definition at line 246 of file SimpleJSON.cs.
Referenced by SimpleJSON.JSONNode.Parse().
|
virtual |
Definition at line 253 of file SimpleJSON.cs.
|
static |
Definition at line 169 of file SimpleJSON.cs.
Referenced by SimpleJSON.JSONNode.Parse().
|
static |
Definition at line 167 of file SimpleJSON.cs.
|
static |
Definition at line 168 of file SimpleJSON.cs.
Referenced by SimpleJSON.JSONNode.operator JSONNode().
|
get |
Definition at line 328 of file SimpleJSON.cs.
|
getset |
Definition at line 298 of file SimpleJSON.cs.
Referenced by SimpleJSON.JSONNode.operator bool().
|
getset |
Definition at line 271 of file SimpleJSON.cs.
Referenced by SimpleJSON.JSONNode.operator double().
|
getset |
Definition at line 292 of file SimpleJSON.cs.
Referenced by SimpleJSON.JSONNode.operator float().
|
getset |
Definition at line 286 of file SimpleJSON.cs.
Referenced by SimpleJSON.JSONNode.operator int().
|
getset |
Definition at line 313 of file SimpleJSON.cs.
Referenced by SimpleJSON.JSONNode.operator long().
|
get |
Definition at line 336 of file SimpleJSON.cs.
|
get |
Definition at line 218 of file SimpleJSON.cs.
|
get |
Definition at line 179 of file SimpleJSON.cs.
|
get |
Definition at line 226 of file SimpleJSON.cs.
|
getset |
Definition at line 188 of file SimpleJSON.cs.
|
get |
Definition at line 185 of file SimpleJSON.cs.
|
get |
Definition at line 183 of file SimpleJSON.cs.
|
get |
Definition at line 184 of file SimpleJSON.cs.
|
get |
Definition at line 181 of file SimpleJSON.cs.
|
get |
Definition at line 186 of file SimpleJSON.cs.
|
get |
Definition at line 182 of file SimpleJSON.cs.
|
get |
Definition at line 263 of file SimpleJSON.cs.
|
get |
Definition at line 262 of file SimpleJSON.cs.
|
getabstract |
Definition at line 171 of file SimpleJSON.cs.
|
getset |
Definition at line 173 of file SimpleJSON.cs.
|
getset |
Definition at line 175 of file SimpleJSON.cs.
|
getset |
Definition at line 177 of file SimpleJSON.cs.
Referenced by SimpleJSON.JSONNode.operator JSONNode(), SimpleJSON.JSONNode.operator string(), and SimpleJSON.JSONObject.Remove().
|
get |
Definition at line 264 of file SimpleJSON.cs.