JsonValueExtensionsGetSByteOrDefault Method

Overload List

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

See Also