| JTokenToObject Method (Type, JsonSerializer) |
Namespace:
Newtonsoft.Json.Linq
Assembly:
Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax public Object ToObject(
Type objectType,
JsonSerializer jsonSerializer
)
Parameters
- objectType
- Type: SystemType
The object type that the token will be deserialized to. - jsonSerializer
- Type: Newtonsoft.JsonJsonSerializer
The JsonSerializer that will be used when creating the object.
Return Value
Type:
ObjectThe new object created from the JSON value.
See Also