This class encodes and decodes JSON strings.
More...
|
static object | Deserialize (string json) |
| Parses the string json into a value More...
|
|
static string | Serialize (object obj) |
| Converts a IDictionary / IList object or a simple type (string, int, etc.) into a JSON string More...
|
|
This class encodes and decodes JSON strings.
Spec. details, see http://www.json.org/
JSON uses Arrays and Objects. These correspond here to the datatypes IList and IDictionary. All numbers are parsed to doubles.
static object MiniJSON.Json.Deserialize |
( |
string |
json) | |
|
|
static |
Parses the string json into a value
- Parameters
-
- Returns
- An List<object>, a Dictionary<string, object>, a double, an integer,a string, null, true, or false
static string MiniJSON.Json.Serialize |
( |
object |
obj) | |
|
|
static |
Converts a IDictionary / IList object or a simple type (string, int, etc.) into a JSON string
- Parameters
-
json | A Dictionary<string, object> / List<object> |
- Returns
- A JSON encoded string, or null if object 'json' is not serializable
The documentation for this class was generated from the following file:
- C:/Users/okan/Desktop/unity_son/Assets/Standard Assets/Character Controllers/Sources/Scripts/MiniJSON.cs