通过JsonConvert.DeserializeObject<Dictionary<string, object>>(string value)方法反序列化为字典数据,在通过key访问对应的value的值:
var resultContext=JsonConvert.DeserializeObject<Dictionary<string, object>>(JSON格式数据); //获取msg的值: var msg=resultContext["msg"];
--