I\'ve found ScriptingJsonSerializationSection but I\'m not sure how to use it. I could write a function to convert the object to a JSON string manually, but since .Net can do it
In the System.Web.Extensions assembly, version 3.5.0.0, there's a JavaScriptSerializer class that should handle what you want.