using Newtonsoft.Json;//引用命名空间
DictionaryContent = new Dictionary ();Content.Add("bulletinContent", "this is bulletinContent"); Content.Add("topToDay", "this is topToDay");//Dictionary转json string Contentjson = JsonConvert.SerializeObject(Content);//json转DictionaryDictionary DicContent = (Dictionary )JsonConvert.DeserializeObject(Contentjson.ToString());