Deserialize Method (reader, objectType)

Json.NET

Json.NET - Quick Starts & API Documentation Deserialize Method (reader, objectType)
NamespacesNewtonsoft.JsonJsonSerializerDeserialize(JsonReader, Type)
Deserializes the Json structure contained by the specified JsonReader into an instance of the specified type.
Declaration Syntax
C# Visual Basic Visual C++
public Object Deserialize(
	JsonReader reader,
	Type objectType
)
Public Function Deserialize ( _
	reader As JsonReader, _
	objectType As Type _
) As Object
public:
Object^ Deserialize(
	JsonReader^ reader, 
	Type^ objectType
)
Parameters
reader (JsonReader)
The JsonReader containing the object.
objectType (Type)
The Type of object being deserialized.
Return Value
The instance of objectType being deserialized.

Assembly: Newtonsoft.Json (Module: Newtonsoft.Json) Version: 4.5.0.0 (4.5.6.14930)