Method | Description | |
---|---|---|
GetValue ( object obj, string name ) : object | ||
JsonDecode ( string json ) : object |
Parses the string json into a value
|
|
JsonDecode ( string json, bool &success ) : object |
Parses the string json into a value; and fills 'success' with the successfullness of the parse.
|
Method | Description | |
---|---|---|
EatWhitespace ( char json, int &index ) : void | ||
GetLastIndexOfNumber ( char json, int index ) : int | ||
LookAhead ( char json, int index ) : int | ||
NextToken ( char json, int &index ) : int | ||
ParseArray ( char json, int &index, bool &success ) : List | ||
ParseNumber ( char json, int &index, bool &success ) : double | ||
ParseObject ( char json, int &index, bool &success ) : object>.Dictionary |
||
ParseString ( char json, int &index, bool &success ) : string | ||
ParseValue ( char json, int &index, bool &success ) : object |
protected static EatWhitespace ( char json, int &index ) : void | ||
json | char | |
index | int | |
return | void |
protected static GetLastIndexOfNumber ( char json, int index ) : int | ||
json | char | |
index | int | |
return | int |
public static GetValue ( object obj, string name ) : object | ||
obj | object | |
name | string | |
return | object |
public static JsonDecode ( string json ) : object | ||
json | string | A JSON string. |
return | object |
public static JsonDecode ( string json, bool &success ) : object | ||
json | string | A JSON string. |
success | bool | Successful parse? |
return | object |
protected static LookAhead ( char json, int index ) : int | ||
json | char | |
index | int | |
return | int |
protected static NextToken ( char json, int &index ) : int | ||
json | char | |
index | int | |
return | int |
protected static ParseArray ( char json, int &index, bool &success ) : List | ||
json | char | |
index | int | |
success | bool | |
return | List |
protected static ParseNumber ( char json, int &index, bool &success ) : double | ||
json | char | |
index | int | |
success | bool | |
return | double |
protected static ParseObject ( char json, int &index, bool &success ) : object>.Dictionary |
||
json | char | |
index | int | |
success | bool | |
return | object>.Dictionary |
protected static ParseString ( char json, int &index, bool &success ) : string | ||
json | char | |
index | int | |
success | bool | |
return | string |
protected static ParseValue ( char json, int &index, bool &success ) : object | ||
json | char | |
index | int | |
success | bool | |
return | object |