webserver 返回json 如何去掉 <string xmlns="http://tempuri.org/">
[WebMethod]
public void GetJson(String sJson)
{
Context.Response.Charset = "UTF-8"; //设置字符集类型
Context.Response.ContentEncoding = System.Text.Encoding.GetEncoding("UTF-8");
Context.Response.Write(sJson);
Context.Response.End();
}
url: 'WebService1.asmx/GetJson'