Json.NET - Quick Starts & API Documentation
Deserialize Method (reader, objectType)
Namespaces ► Newtonsoft.Json ► JsonSerializer ► Deserialize(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.
Return Value
The instance of objectType being deserialized.