PowerUI.JSObject Class Reference

Detailed Description

An object returned from JSON text.

Inheritance diagram for PowerUI.JSObject:
PowerUI.JSArray PowerUI.JSValue

Public Member Functions

void push (string value)
 Adds the given string to this object. More...
 
virtual void push (JSObject value)
 Adds the given JSON object to this object. More...
 
virtual string ToJSONString ()
 Turns this JSON object into a JSON formatted string. More...
 

Properties

virtual 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...
 

Member Function Documentation

void PowerUI.JSObject.push ( string  value)
inline

Adds the given string to this object.

virtual void PowerUI.JSObject.push ( JSObject  value)
inlinevirtual

Adds the given JSON object to this object.

Reimplemented in PowerUI.JSArray.

virtual string PowerUI.JSObject.ToJSONString ( )
inlinevirtual

Turns this JSON object into a JSON formatted string.

Reimplemented in PowerUI.JSArray, and PowerUI.JSValue.

Property Documentation

virtual int PowerUI.JSObject.length
get

The number of values in this object.

virtual JSObject PowerUI.JSObject.this[string index]
getset

Gets or sets entries from this object.