Json.NET - Quick Starts & API Documentation
DeserializeAnonymousType<(Of <(<'T>)>)> Method (value, anonymousTypeObject)
Namespaces ► Newtonsoft.Json ► JsonConvert ► DeserializeAnonymousType<(Of <<'(T>)>>)(String, T)
Deserializes the JSON to the given anonymous type.
Declaration Syntax
C# | Visual Basic | Visual C++ |
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.