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)
See also:Class WestwindJsonSerializer
Comment or report problem with topic