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
JSONArray Class Reference

JSON array. More...

Inheritance diagram for JSONArray:

Public Member Functions

 JSONArray ()
 
 JSONArray (JSONArray array)
 Construct a new array and copy each value from the given array into the new one More...
 
void Add (JSONValue value)
 Add a JSONValue to this array More...
 
override string ToString ()
 
Returns
String representation of this JSONArray
More...
 
IEnumerator< JSONValueGetEnumerator ()
 Gets the enumerator. More...
 
void Clear ()
 Empty the array of all values. More...
 
void Remove (int index)
 Remove the value at the given index, if it exists. More...
 

Static Public Member Functions

static JSONArray Parse (string jsonString)
 Attempt to parse a string as a JSON array. More...
 
static JSONArray operator+ (JSONArray lhs, JSONArray rhs)
 Concatenate two JSONArrays More...
 

Properties

JSONValue this[int index] [get, set]
 
int Length [get]
 
Returns
Return the length of the array
More...
 

Detailed Description

JSON array.

Constructor & Destructor Documentation

JSONArray.JSONArray ( )
JSONArray.JSONArray ( JSONArray  array)

Construct a new array and copy each value from the given array into the new one

Parameters
array

Member Function Documentation

void JSONArray.Add ( JSONValue  value)

Add a JSONValue to this array

Parameters
value
void JSONArray.Clear ( )

Empty the array of all values.

IEnumerator<JSONValue> JSONArray.GetEnumerator ( )

Gets the enumerator.

Returns
The enumerator.
static JSONArray JSONArray.operator+ ( JSONArray  lhs,
JSONArray  rhs 
)
static

Concatenate two JSONArrays

Parameters
lhs
rhs
Returns
A new JSONArray that is the result of adding all of the right-hand side array's values to the left-hand side array.
static JSONArray JSONArray.Parse ( string  jsonString)
static

Attempt to parse a string as a JSON array.

Parameters
jsonString
Returns
A new JSONArray object if successful, null otherwise.
void JSONArray.Remove ( int  index)

Remove the value at the given index, if it exists.

Parameters
index
override string JSONArray.ToString ( )

Returns
String representation of this JSONArray

Property Documentation

int JSONArray.Length
get

Returns
Return the length of the array

JSONValue JSONArray.this[int index]
getset

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