Json序列化
Dictionary<string, string> map数据 = new Dictionary<string, string>();
map数据.Add("诊断结果", "无");
JavaScriptSerializer jss = new JavaScriptSerializer();
string strJSON = jss.Serialize(map数据);
JavaScriptSerializer jss = new JavaScriptSerializer();
Dictionary<string, object> mapData = new Dictionary<string, object>();
mapData = jss.Deserialize<Dictionary<string, object>>(strJosn);
每一个成功都不是偶然,每一个失败也是同理