| JTokenToObject Method (Type) |
Creates an instance of the specified .NET type from the
JToken.
Namespace:
Newtonsoft.Json.Linq
Assembly:
Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax public Object ToObject(
Type objectType
)
Parameters
- objectType
- Type: SystemType
The object type that the token will be deserialized to.
Return Value
Type:
ObjectThe new object created from the JSON value.
See Also