Click or drag to resize
Json.NET

JsonConvert.DeserializeObject Method (String, Type, JsonSerializerSettings)

 
Deserializes the JSON to the specified .NET type using JsonSerializerSettings.

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,
	JsonSerializerSettings settings
)

Parameters

value
Type: System.String
The JSON to deserialize.
type
Type: System.Type
The type of the object to deserialize to.
settings
Type: Newtonsoft.Json.JsonSerializerSettings
The JsonSerializerSettings used to deserialize the object. If this is null, default serialization settings will be used.

Return Value

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