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

Namespace: Newtonsoft.Json.Linq
Assembly: Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 9.0.0.0 (9.0.1.19813)
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