将字典类型转换为josn类型 string json = (new System.Web.Script.Serialization.JavaScriptSerializer()).Serialize(dic);