Json.NET - Quick Starts & API Documentation
DeserializeObject Method (value, settings)
Namespaces ► Newtonsoft.Json ► JsonConvert ► DeserializeObject(String, JsonSerializerSettings)
Deserializes the JSON to a .NET object.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static Object DeserializeObject( string value, JsonSerializerSettings settings )
Public Shared Function DeserializeObject ( _ value As String, _ settings As JsonSerializerSettings _ ) As Object
public: static Object^ DeserializeObject( String^ value, JsonSerializerSettings^ settings )
Parameters
- value (String)
- The JSON 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.