Method GetBool
GetBool(Dictionary<string, object>, string)
Get the bool in the JSON dictionary.
Declaration
public static bool GetBool(this Dictionary<string, object> dic, string key)
Parameters
Type | Name | Description |
---|---|---|
Dictionary<string, object> | dic | The JSON in dictionary representations. |
string | key | The Key to get the bool from in the JSON dictionary. |
Returns
Type | Description |
---|---|
bool | The bool from the JSON dictionary or false if the key was not found in the JSON dictionary |