JsonValueExtensionsGetUInt16OrDefault Method

Overload List

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

See Also