SyntaxFix
Write A Post
Hire A Developer
Questions
Use .net inbuilt class JavaScriptSerializer
JavaScriptSerializer js = new JavaScriptSerializer(); string json = js.Serialize(obj);