Deserializes the specified JSON to the given anonymous type.

Declaration Syntax
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 object 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: 2.0.0.0 (2.0.0.0)