序列化对象为单个对象的时候 //Student person = new Student() { Name = 张三,Code=001 }; //JavaScriptSerializer json = new JavaScriptSerializer(); //string str = json.Serialize(person); context.Response.Write(str); 前台Jquery代码: $(document).ready( function () { $.post(Test.ashx, function (d