Click or drag to resize
Json.NETJTokenToObjectT Method
 
Creates an instance of the specified .NET type from the JToken.

Namespace: Newtonsoft.Json.Linq
Assembly: Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 10.0.0.0 (10.0.1.20720)
Syntax
C#
public T ToObject<T>()

Type Parameters

T
The object type that the token will be deserialized to.

Return Value

Type: T
The new object created from the JSON value.
See Also