JsonValueExtensionsGetDoubleOrDefault Method

Overload List

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

See Also