Share via


JsonValue.ReadAs Method (Type, Object)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Reads the Jsonvalue with specified type.

Namespace:  System.Json
Assembly:  System.Json (in System.Json.dll)

Syntax

'Declaration
Public Function ReadAs ( _
    type As Type, _
    fallback As Object _
) As Object
public Object ReadAs(
    Type type,
    Object fallback
)
public:
Object^ ReadAs(
    Type^ type, 
    Object^ fallback
)
member ReadAs : 
        type:Type * 
        fallback:Object -> Object 
public function ReadAs(
    type : Type, 
    fallback : Object
) : Object

Parameters

Return Value

Type: System.Object
The read value.

.NET Framework Security

See Also

Reference

JsonValue Class

ReadAs Overload

System.Json Namespace