PowerUI.JSValue Class Reference

Detailed Description

Represents an actual JSON value.

Inheritance diagram for PowerUI.JSValue:
PowerUI.JSObject

Public Member Functions

 JSValue ()
 Creates an empty JSON value. More...
 
 JSValue (string value)
 Creates a new JSON value for the given string. More...
 
override string ToJSONString ()
 Turns this JSON object into a JSON formatted string. More...
 
override string ToString ()
 
- Public Member Functions inherited from PowerUI.JSObject
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...
 

Public Attributes

string Value
 The raw string value. More...
 

Additional Inherited Members

- Properties inherited from PowerUI.JSObject
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...
 

Constructor & Destructor Documentation

PowerUI.JSValue.JSValue ( )
inline

Creates an empty JSON value.

PowerUI.JSValue.JSValue ( string  value)
inline

Creates a new JSON value for the given string.

Member Function Documentation

override string PowerUI.JSValue.ToJSONString ( )
inlinevirtual

Turns this JSON object into a JSON formatted string.

Reimplemented from PowerUI.JSObject.

override string PowerUI.JSValue.ToString ( )
inline

Member Data Documentation

string PowerUI.JSValue.Value

The raw string value.