Click or drag to resize
Json.NET

JsonConvert.DeserializeObject Method (String, Type,JsonConverter[])

 
Deserializes the JSON to the specified .NET type using a collection of JsonConverter.

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,
	params JsonConverter[] converters
)

Parameters

value
Type: System.String
The JSON to deserialize.
type
Type: System.Type
The type of the object to deserialize.
converters
Type:Newtonsoft.Json.JsonConverter[]
Converters to use while deserializing.

Return Value

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