Deserialize Method (reader, objectType)

Json.NET

Json.NET - Quick Starts & API Documentation Deserialize Method (reader, objectType)
NamespacesNewtonsoft.JsonJsonSerializerDeserialize(TextReader, Type)
Deserializes the Json structure contained by the specified StringReader into an instance of the specified type.
Declaration Syntax
C# Visual Basic Visual C++
public Object Deserialize(
	TextReader reader,
	Type objectType
)
Public Function Deserialize ( _
	reader As TextReader, _
	objectType As Type _
) As Object
public:
Object^ Deserialize(
	TextReader^ reader, 
	Type^ objectType
)
Parameters
reader (TextReader)
The TextReader 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)