메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
EatWhitespace ( char json, int &index ) : void | ||
GetLastIndexOfNumber ( char json, int index ) : int | ||
IsNumeric ( object o ) : bool |
Determines if a given object is numeric in any way (can be integer, double, null, etc). Thanks to mtighe for pointing out Double.TryParse to me.
|
|
LookAhead ( char json, int index ) : Token | ||
NextToken ( char json, int &index ) : Token | ||
ParseArray ( char json, int &index, bool &success ) : |
||
ParseNumber ( char json, int &index, bool &success ) : object |
Determines the type of number (int, double, etc) and returns an object containing that value.
|
|
ParseObject ( char json, int &index, bool &success ) : |
||
ParseString ( char json, int &index, bool &success ) : string | ||
ParseValue ( char json, int &index, bool &success ) : object | ||
SerializeArray ( |
||
SerializeNumber ( double number, StringBuilder builder ) : bool | ||
SerializeObject ( |
||
SerializeString ( string aString, StringBuilder builder ) : bool | ||
SerializeValue ( object value, StringBuilder builder ) : bool |
protected static EatWhitespace ( char json, int &index ) : void | ||
json | char | |
index | int | |
리턴 | void |
protected static GetLastIndexOfNumber ( char json, int index ) : int | ||
json | char | |
index | int | |
리턴 | int |
public static JsonDecode ( string json ) : object | ||
json | string | A JSON string. |
리턴 | object |
public static JsonDecode ( string json, bool &success ) : object | ||
json | string | A JSON string. |
success | bool | Successful parse? |
리턴 | object |
protected static LookAhead ( char json, int index ) : Token | ||
json | char | |
index | int | |
리턴 | Token |
protected static NextToken ( char json, int &index ) : Token | ||
json | char | |
index | int | |
리턴 | Token |
protected static ParseArray ( char json, int &index, bool &success ) : |
||
json | char | |
index | int | |
success | bool | |
리턴 |
protected static ParseNumber ( char json, int &index, bool &success ) : object | ||
json | char | |
index | int | |
success | bool | |
리턴 | object |
protected static ParseObject ( char json, int &index, bool &success ) : |
||
json | char | |
index | int | |
success | bool | |
리턴 |
protected static ParseString ( char json, int &index, bool &success ) : string | ||
json | char | |
index | int | |
success | bool | |
리턴 | string |
protected static ParseValue ( char json, int &index, bool &success ) : object | ||
json | char | |
index | int | |
success | bool | |
리턴 | object |
protected static SerializeArray ( |
||
anArray | ||
builder | StringBuilder | |
리턴 | bool |
protected static SerializeNumber ( double number, StringBuilder builder ) : bool | ||
number | double | |
builder | StringBuilder | |
리턴 | bool |
protected static SerializeObject ( |
||
anObject | ||
builder | StringBuilder | |
리턴 | bool |
protected static SerializeString ( string aString, StringBuilder builder ) : bool | ||
aString | string | |
builder | StringBuilder | |
리턴 | bool |
protected static SerializeValue ( object value, StringBuilder builder ) : bool | ||
value | object | |
builder | StringBuilder | |
리턴 | bool |