Click or drag to resize
Json.NET

JsonConvertDeserializeObject Method (String, Type)

 
Deserializes the JSON to the specified .NET type.

Namespace:  Newtonsoft.Json
Assembly:  Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
public static Object DeserializeObject(
	string value,
	Type type
)

Parameters

value
Type: SystemString
The JSON to deserialize.
type
Type: SystemType
The Type of object being deserialized.

Return Value

Type: Object
The deserialized object from the JSON string.
See Also