Method GetLong
GetLong(Dictionary<string, object>, string)
Get the long in the JSON dictionary.
Declaration
public static long GetLong(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 long from in the JSON dictionary. |
Returns
Type | Description |
---|---|
long | The long from the JSON dictionary or 0 if the key was not found in the JSON dictionary |