//创建此实例 JavaScriptSerializer js = new JavaScriptSerializer(); //result必须为json字符串 Dictionary<string, object> DicText = (Dictionary<string, object>)js.DeserializeObject(result); //要获取的键 string signKey = DicText["openid"].ToString();
2024-04-01 21:17:28
//创建此实例 JavaScriptSerializer js = new JavaScriptSerializer(); //result必须为json字符串 Dictionary<string, object> DicText = (Dictionary<string, object>)js.DeserializeObject(result); //要获取的键 string signKey = DicText["openid"].ToString();