using Newtonsoft.Json;//引用命名空间 Dictionary<string, string> Content = new Dictionary<string, string>(); Content.Add("bulletinContent", "this is bulletinContent"); Content.Add("topToDay", "this is topToDay"
public static class WebExtension { public static T Decode<T>(this RequestBase res) { Type type = res.GetType(); // For each property of this object, html decode it if it is of type string foreach (PropertyInfo propertyInfo in type.GetProperties()) {