JSONSerializer.Deserialize

Takes a JSON string and attempts to create a .NET object from this structure. An input type is required and any type that is serialized to must support a parameterless constructor.

The de-serializer instantiates each object and runs through the properties

The deserializer supports

Note that the deserializer doesn't support DataSets/Tables/Rows like the serializer as there's no type information available from the client to create these objects on the fly.

public object Deserialize( string JSONText,
	Type ValueType );

Parameters

JSONText
A string of JSON text passed from the client.

ValueType
The type of the object that is to be created from the JSON text.

Overloads:

public TType Deserialize( string jsonText );

See also:

Class JSONSerializer


  Last Updated: 7/7/2008 | © West Wind Technologies, 2008