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

Namespace: Newtonsoft.Json
Assembly: Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 6.0.0.0 (6.0.3.17227)

Syntax

C#
public static T DeserializeObject<T>(
	string value,
	JsonSerializerSettings settings
)

Parameters

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

Type Parameters

T
The type of the object to deserialize to.

Return Value

Type: T
The deserialized object from the JSON string.

See Also