Class Json
Assembly: Unity.LevelPlay.dll
Syntax
[Obsolete("This class will be made private in a future version.", false)]
public static class Json
Methods
Deserialize(string)
Declaration
public static object Deserialize(string json)
Parameters
| Type |
Name |
Description |
| string |
json |
|
Returns
Serialize(object)
Converts a IDictionary / IList object or a simple type (string, int, etc.) into a JSON string
Declaration
public static string Serialize(object obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
| Type |
Description |
| string |
A JSON encoded string, or null if object 'json' is not serializable
|