Json.NET - Quick Starts & API Documentation
DeserializeObject<(Of <(<'T>)>)> Method (value, converters)
Namespaces ► Newtonsoft.Json ► JsonConvert ► DeserializeObject<(Of <<'(T>)>>)(String, array<JsonConverter>[]()[][])
Deserializes the JSON to the specified .NET type.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static T DeserializeObject<T>( string value, params JsonConverter[] converters )
Public Shared Function DeserializeObject(Of T) ( _ value As String, _ ParamArray converters As JsonConverter() _ ) As T
public: generic<typename T> static T DeserializeObject( String^ value, ... array<JsonConverter^>^ converters )
Generic Template Parameters
- T
- The type of the object to deserialize to.
Parameters
- value (String)
- The JSON to deserialize.
- converters (array<JsonConverter>[]()[][])
- Converters to use while deserializing.
Return Value
The deserialized object from the JSON string.