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