JsonValueExtensionsGetStringOrDefault Method

Overload List

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

See Also