方法很简单,留作以后使用。
System.Web.Script.Serialization.JavaScriptSerializer serializer = new System.Web.Script.Serialization.JavaScriptSerializer(); return serializer.Deserialize<Dictionary<string, string>>(txtParams);