Detailed Description

An object returned from JSON text.

Inheritance diagram for Json.JSArray:
Json.JSObject Json.JSIndexedArray

Public Member Functions

override void push (JSObject value)
 Adds the given JSON object to this object. More...
 
override void ToJSONString (System.Text.StringBuilder builder)
 Turns this JSON object into a JSON formatted string. More...
 
override string ToString ()
 
override IEnumerator
< KeyValuePair< string,
JSObject > > 
GetEnumerator ()
 
- Public Member Functions inherited from Json.JSObject
void push (string value)
 Adds the given string to this object. More...
 
string CaseString (string index, bool upperCase)
 Gets the named index as a string, then trims and upper/lowercases it. Null if the index doesn't exist. More...
 
string String (string index)
 Gets the named index as a string. Null if the index doesn't exist. More...
 
string ToJSONString ()
 Turns this JSON object into a JSON formatted string. More...
 

Public Attributes

Dictionary< string, JSObjectValues
 The held values. More...
 

Package Attributes

int IndexedMode
 The indexed array mode. See IsIndexed. More...
 

Properties

override int internalLength [get]
 The number of values in this object. More...
 
override JSObject this[string index] [get, set]
 Gets or sets entries from this object. More...
 
bool IsIndexed [get, set]
 Is this an indexed array? Note that this is a best guess. Set it manually if you want to ensure it is/ is not. More...
 
- Properties inherited from Json.JSObject
virtual int internalLength [get]
 The number of values in this object. More...
 
int length [get]
 The number of values in this object. More...
 
virtual JSObject this[string index] [get, set]
 Gets or sets entries from this object. More...
 
JSObject this[int index] [get, set]
 Gets or sets entries from this object. More...
 

Member Function Documentation

override IEnumerator< KeyValuePair<string,JSObject> > Json.JSArray.GetEnumerator ( )
inlinevirtual

Reimplemented from Json.JSObject.

override void Json.JSArray.push ( JSObject  value)
inlinevirtual

Adds the given JSON object to this object.

Reimplemented from Json.JSObject.

override void Json.JSArray.ToJSONString ( System.Text.StringBuilder  builder)
inlinevirtual

Turns this JSON object into a JSON formatted string.

Reimplemented from Json.JSObject.

override string Json.JSArray.ToString ( )
inline

Member Data Documentation

int Json.JSArray.IndexedMode
package

The indexed array mode. See IsIndexed.

Dictionary<string,JSObject> Json.JSArray.Values

The held values.

Property Documentation

override int Json.JSArray.internalLength
getprotected

The number of values in this object.

bool Json.JSArray.IsIndexed
getset

Is this an indexed array? Note that this is a best guess. Set it manually if you want to ensure it is/ is not.

override JSObject Json.JSArray.this[string index]
getset

Gets or sets entries from this object.