Class JSONSerializer

More text is a basic JSON serializer and deserializer that deals with standard .NET types. Unlike the MS Ajax JSONSerializer parser this parser support serialization and deserialization without explicit type markup in the JSON resulting in a simpler two-way model.

The inbound model for complex types is based on Reflection parsing of properties.

System.Object
  Westwind.Web.Controls.JSONSerializer

public class JSONSerializer : object

Class Members


MemberDescription
Constructor
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.
public object Deserialize( string JSONText,
Type ValueType );
Serialize Updated Serializes a value into a JSON compatible string.
public string Serialize( object Value );
WriteValue
public void WriteValue( StringBuilder sb,
object val );

Requirements

Namespace: Westwind.Web.Controls
Assembly: wwhoverpanel.dll


Last Updated: 12/23/2007