JsonValueExtensionsGetInt64OrDefault Method

Overload List

GetInt64OrDefault(JsonValue, JsonValueType) Gets the specified JsonValue as an Int64 value if expectedType is Undefined or matches the Type property of the specified json parameter and it can be converted to Int64; otherwise, returns 0.
GetInt64OrDefault(JsonValue, Int64, JsonValueType) Gets the specified JsonValue as an Int64 value if expectedType is Undefined or matches the Type property of the specified json parameter and it can be converted to Int64; otherwise, returns defaultValue.

See Also