后台特殊字符处理,ajax

Dictionary<string, string> d = new Dictionary<string, string>();
d.Add("price", price);
d.Add("note", note);
d.Add("num", buynum);
d.Add("gname", good2.Goodsname);
d.Add("low", low);
d.Add("utname", utname);
d.Add("itemname", itemname);
d.Add("proEname", proEname);
string tt = JsonConvert.SerializeObject(d);

原文地址:https://www.cnblogs.com/ctautocn/p/4611206.html