Deserializes the JSON to the specified .NET type.
Namespace: Newtonsoft.JsonAssembly: Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 4.5.0.0 (4.5.11.15729)
Syntax
| C# |
|---|
public static T DeserializeObject<T>( string value, JsonSerializerSettings settings ) |
| Visual Basic |
|---|
Public Shared Function DeserializeObject(Of T) ( _ value As String, _ settings As JsonSerializerSettings _ ) As T |
| Visual C++ |
|---|
public: generic<typename T> static T DeserializeObject( 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.