Method | Description | |
---|---|---|
FromJson ( byte bts, |
Deserializes an object from JSON This function can be used to parse JSON objecta and arrays. |
|
JsonFormatter ( ) : System |
Constructs a JSON formatter
|
|
ToJson ( object o ) : string |
Serializes an object to a string Object definition must have the [Serializable] attribute. Serializes only members which are not marked with [NonSerialized] attribute. |
Method | Description | |
---|---|---|
GetNextQuotedString ( string s, int &pos ) : string |
Returns nets parameter string
|
|
GetSubObject ( string s, int &pos ) : string |
Returns next sub-object string
|
|
GetValueString ( string s, int &pos ) : string |
Extracts a value from a given string
|
|
ParseObject ( string JsonString, |
Parses object from JSON Works recursively. |
|
SplitArrayStrings ( string s ) : |
Splits a sprecified string in parts according to JSON array definition
|
public FromJson ( byte bts, |
||
bts | byte | JSON input bytes |
objType | type of an object to deserialize | |
return | object |
public ToJson ( object o ) : string | ||
o | object | Object to be serialized |
return | string |