C# Dictionary类型转json方法之一

时间:2024-10-23 08:05:41
Dictionary<string, string> Content = new Dictionary<string, string>(); ("bulletinContent", "this is bulletinContent"); ("topToDay", "this is topToDay"); //Dictionary转json string Contentjson = (Content); //json转Dictionary Dictionary<string, string> DicContent = (Dictionary<string, string>)(());