Class MiniJsonExtensions
Extension class for MiniJson to access values in JSON format.
Inherited Members
Namespace: UnityEngine.Purchasing.MiniJSON
Assembly: solution.dll
Syntax
public static class MiniJsonExtensions
Methods
Name | Description |
---|---|
ArrayListFromJson(string) | Convert string JSON into List of Objects. |
GetBool(Dictionary<string, object>, string) | Get the bool in the JSON dictionary. |
GetEnum<T>(Dictionary<string, object>, string) | Get the casted enum in the JSON dictionary. |
GetHash(Dictionary<string, object>, string) | Get the HashDictionary of a key in JSON dictionary. |
GetLong(Dictionary<string, object>, string) | Get the long in the JSON dictionary. |
GetString(Dictionary<string, object>, string, string) | Get the string in the JSON dictionary. |
GetStringList(Dictionary<string, object>, string) | Get the list of strings in the JSON dictionary. |
Get<T>(Dictionary<string, object>, string) | Get the casted object in the JSON dictionary. |
HashtableFromJson(string) | Convert string JSON into Dictionary. |
toJson(Dictionary<string, object>) | Convert a Dictionary to JSON. |
toJson(Dictionary<string, string>) | Convert a Dictionary to JSON. |
toJson(string[]) | Convert a string array to JSON. |