Json.NET - Quick Starts & API Documentation
DeserializeObject<(Of <(<'T>)>)> Method (value, settings)
Namespaces ► Newtonsoft.Json ► JsonConvert ► DeserializeObject<(Of <<'(T>)>>)(String, JsonSerializerSettings)
Deserializes the JSON to the specified .NET type.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static T DeserializeObject<T>( string value, JsonSerializerSettings settings )
Public Shared Function DeserializeObject(Of T) ( _ value As String, _ settings As JsonSerializerSettings _ ) As T
public: generic<typename T> static T DeserializeObject( String^ value, JsonSerializerSettings^ settings )
Generic Template Parameters
- T
- The type of the object to deserialize to.
Parameters
- value (String)
- The object to deserialize.
- settings (JsonSerializerSettings)
- The JsonSerializerSettings used to deserialize the object. If this is null, default serialization settings will be is used.
Return Value
The deserialized object from the JSON string.