Share via


JsonValue.ReadAs<T> Method

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

Reads the JsonValue as an object.

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

Syntax

'Declaration
Public Function ReadAs(Of T) As T
public T ReadAs<T>()
public:
generic<typename T>
T ReadAs()
member ReadAs : unit -> 'T 
JScript does not support generic types or methods.

Type Parameters

  • T
    The generic type.

Return Value

Type: T
The read value as an object.

.NET Framework Security

See Also

Reference

JsonValue Class

ReadAs Overload

System.Json Namespace