Converts a JSON-formatted string to an object of the specified type.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
input is a null reference (Nothing in Visual Basic).
The length of input exceeds the value of MaxJsonLength.
The recursion limit defined by RecursionLimit was exceeded.
input contains an unexpected character sequence.
input is a dictionary type and a non-string key value was encountered.
input includes member definitions that are not available on the target type.
input contains a "__type" property that indicates a custom type, but the type resolver that is currently associated with the serializer cannot find a corresponding managed type.
input contains a "__type" property that indicates a custom type, but the result of deserializing the corresponding JSON string cannot be assigned to the expected target type.
input contains a "__type" property that indicates either Object or a non-instantiable type (for example, an abstract type or an interface).
An attempt was made to convert a JSON array to an array-like managed type that is not supported for use as a JSON deserialization target.
It is not possible to convert input to the target type.
This deserialization method does not try to cast the root of the object graph to a specific type, the way that the Deserialize method does.
Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.