JsonValueExtensionsGetByteOrDefault Method

Overload List

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

See Also