 | JsonSerializerDeserialize Method (TextReader, Type) |
Deserializes the JSON structure contained by the specified
StringReader
into an instance of the specified type.
Namespace:
Newtonsoft.Json
Assembly:
Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntaxpublic Object Deserialize(
TextReader reader,
Type objectType
)
Parameters
- reader
- Type: System.IOTextReader
The TextReader containing the object. - objectType
- Type: SystemType
The Type of object being deserialized.
Return Value
Type:
ObjectThe instance of
objectType being deserialized.
See Also