Represents a JSON number.
Public Member Functions | |
JSNumber () | |
Creates an empty JSON value. More... | |
JSNumber (double value) | |
Creates a new JSON value for the given number. 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 | |
double | Value |
The raw numeric 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... | |
|
inline |
Creates an empty JSON value.
|
inline |
Creates a new JSON value for the given number.
|
inline |
|
inline |
double Json.JSNumber.Value |
The raw numeric value.