Click or drag to resize
Json.NET

JsonSerializerDeserialize Method (JsonReader, Type)

 
Deserializes the JSON structure contained by the specified JsonReader into an instance of the specified type.

Namespace:  Newtonsoft.Json
Assembly:  Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
public Object Deserialize(
	JsonReader reader,
	Type objectType
)

Parameters

reader
Type: Newtonsoft.JsonJsonReader
The JsonReader containing the object.
objectType
Type: SystemType
The Type of object being deserialized.

Return Value

Type: Object
The instance of objectType being deserialized.
See Also