[This is preliminary documentation and is subject to change.]

Deserializes the specified JSON to the given anonymous type.

Namespace:  Facebook.Json
Assembly:  Facebook (in Facebook.dll) Version: 0.2009.3.23 (0.2009.3.23)

Syntax

C#
public static T DeserializeAnonymousType<T>(
	string value,
	T anonymousTypeObject
)
Visual Basic (Declaration)
Public Shared Function DeserializeAnonymousType(Of T) ( _
	value As String, _
	anonymousTypeObject As T _
) As T
Visual C++
public:
generic<typename T>
static T DeserializeAnonymousType(
	String^ value, 
	T anonymousTypeObject
)

Parameters

value
Type: System..::.String
The object to deserialize.
anonymousTypeObject
Type: T
The anonymous type object.

Type 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.

Return Value

The deserialized anonymous type from the JSON string.

See Also

JsonConvert Class
Facebook.Json Namespace