获取json字符串的键值
作者:互联网
//创建此实例 JavaScriptSerializer js = new JavaScriptSerializer(); //result必须为json字符串 Dictionary<string, object> DicText = (Dictionary<string, object>)js.DeserializeObject(result); //要获取的键 string signKey = DicText["openid"].ToString();
标签:DicText,Dictionary,js,json,键值,result,字符串,JavaScriptSerializer 来源: https://www.cnblogs.com/zzmpro/p/15465799.html