JSONSerializer.WriteValue

Serialization routine that takes any value and serializes it into JSON.

Date formatting follows Microsoft ASP.NET AJAX format which represents dates as strings in the format of: "\/Date(231231231)\/"

This code is based originally on Jason Diamond's JSON code in Anthem.NET although heavy modifications have been made.

public void WriteValue( StringBuilder sb,
	object val );

Parameters

StringBuilder sb

object val


See also:

Class JSONSerializer


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