DeserializeAnonymousType Method (value, anonymousTypeObject)

Json.NET

Json.NET - Quick Starts & API Documentation DeserializeAnonymousType<(Of <(<'T>)>)> Method (value, anonymousTypeObject)
NamespacesNewtonsoft.JsonJsonConvertDeserializeAnonymousType<(Of <<'(T>)>>)(String, T)
Deserializes the JSON to the given anonymous type.
Declaration Syntax
C# Visual Basic Visual C++
public static T DeserializeAnonymousType<T>(
	string value,
	T anonymousTypeObject
)
Public Shared Function DeserializeAnonymousType(Of T) ( _
	value As String, _
	anonymousTypeObject As T _
) As T
public:
generic<typename T>
static T DeserializeAnonymousType(
	String^ value, 
	T anonymousTypeObject
)
Generic Template Parameters
T
The anonymous type to deserialize to. This can't be specified traditionally and must be infered from the anonymous type passed as a parameter.
Parameters
value (String)
The JSON to deserialize.
anonymousTypeObject (T)
The anonymous type object.
Return Value
The deserialized anonymous type from the JSON string.

Assembly: Newtonsoft.Json (Module: Newtonsoft.Json) Version: 4.0.2.0 (4.0.2.13623)