c# Dictionary<string, object> 转JSON字符串
JavaScriptSerializer jss = new JavaScriptSerializer(); Dictionary<string, object> dict = new Dictionary<string, object>(); string strDATAJSON = ""; dict.Add("AA", "00"); dict.Add("BB", "00"); dict.Add("CC", "E"); dict.Add("DD", "ERE:" ); strDATAJSON = jss.Serialize(dict) ;