JsonConvert.SerializeObject(ob)
using System.Web.Script.Serialization; var json = new JavaScriptSerializer().Serialize(obj);
var person={"first_name":"Tony","last_name":"Hawk","age":31}; var personJSONString=JSON.stringify(person);