JsonValue   Conversion Operators

Overload List

(JsonValue to JsonArray) Performs an explicit conversion from JsonValue to JsonArray. The conversion succeeds if the Type property is Null or Array; otherwise, an InvalidCastException is thrown.
(JsonValue to JsonObject) Performs an explicit conversion from JsonValue to JsonObject. The conversion succeeds if the Type property is Null or Object; otherwise, an InvalidCastException is thrown.
(JsonValue to NullableBoolean) Performs an explicit conversion from JsonValue to nullable bool. The conversion succeeds if the Type property is Null or Boolean; otherwise, an InvalidCastException is thrown.
(JsonValue to NullableDouble) Performs an explicit conversion from JsonValue to nullable double. The conversion succeeds if the Type property is Null or Number; otherwise, an InvalidCastException is thrown.
(JsonValue to String) Performs an explicit conversion from JsonValue to string. The conversion succeeds if the Type property is Null or String; otherwise, an InvalidCastException is thrown.

See Also