DeserializeObject Method (value, type)

Json.NET

Json.NET - Quick Starts & API Documentation DeserializeObject Method (value, type)
NamespacesNewtonsoft.JsonJsonConvertDeserializeObject(String, Type)
Deserializes the JSON to the specified .NET type.
Declaration Syntax
C# Visual Basic Visual C++
public static Object DeserializeObject(
	string value,
	Type type
)
Public Shared Function DeserializeObject ( _
	value As String, _
	type As Type _
) As Object
public:
static Object^ DeserializeObject(
	String^ value, 
	Type^ type
)
Parameters
value (String)
The JSON to deserialize.
type (Type)
The Type of object being deserialized.
Return Value
The deserialized object from the Json string.

Assembly: Newtonsoft.Json (Module: Newtonsoft.Json) Version: 4.5.0.0 (4.5.6.14930)