Json 转 dynamic

直接上代码:

var model = JsonConvert.DeserializeObject<dynamic>("{\"ResponseResult\":true,\"ResponseMsg\":\"success\",\"ResponseCode\":200,\"Data\":0}");
            Console.WriteLine(model.Data.Value);


posted @ 2016-06-30 20:21  正怒月神  阅读(228)  评论(0编辑  收藏  举报