Detailed Description

Represents an actual JSON value.

Inheritance diagram for Json.JSValue:
Json.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 void ToJSONString (System.Text.StringBuilder builder)
 
override string ToString ()
 
- Public Member Functions inherited from Json.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...
 
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...
 
virtual void ToJSONString (System.Text.StringBuilder builder)
 Turns this JSON object into a JSON formatted string. More...
 
virtual IEnumerator
< KeyValuePair< string,
JSObject > > 
GetEnumerator ()
 

Public Attributes

string Value
 The raw string value. More...
 

Additional Inherited Members

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

Constructor & Destructor Documentation

Json.JSValue.JSValue ( )
inline

Creates an empty JSON value.

Json.JSValue.JSValue ( string  value)
inline

Creates a new JSON value for the given string.

Member Function Documentation

override void Json.JSValue.ToJSONString ( System.Text.StringBuilder  builder)
inline
override string Json.JSValue.ToString ( )
inline

Member Data Documentation

string Json.JSValue.Value

The raw string value.