JsonValueExtensionsGetHalfOrDefault Method

Overload List

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

See Also