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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.