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