Jackson 解析json
有这么一个json串,需要解析成一个对象,该怎么用jackson解析
{"content":[{"CIGNAME":"双喜*红双喜","TQTY":203.07,"BQTY":39.14},{"CIGNAME":"云烟","TQTY":162.58,"BQTY":34.73},{"CIGNAME":"红塔山","TQTY":133.34,"BQTY":28.38},{"CIGNAME":"白沙","TQTY":138.44,"BQTY":25.37},{"CIGNAME":"利群","TQTY":93.1,"BQTY":23.21},{"CIGNAME":"黄山","TQTY":108.75,"BQTY":20.59},{"CIGNAME":"黄金叶","TQTY":94.8,"BQTY":18.51},{"CIGNAME":"七匹狼","TQTY":107.13,"BQTY":17.81},{"CIGNAME":"黄鹤楼","TQTY":77.26,"BQTY":17.14},{"CIGNAME":"芙蓉王","TQTY":70.35,"BQTY":16.25},{"CIGNAME":"南京","TQTY":70.61,"BQTY":15.11},{"CIGNAME":"玉溪","TQTY":66.07,"BQTY":14.88},{"CIGNAME":"娇子","TQTY":77.75,"BQTY":14.68},{"CIGNAME":"红金龙","TQTY":89.92,"BQTY":14.49},{"CIGNAME":"泰山","TQTY":73.22,"BQTY":13.99},{"CIGNAME":"红河","TQTY":68.08,"BQTY":11.03},{"CIGNAME":"黄果树","TQTY":58.81,"BQTY":10.69},{"CIGNAME":"中华","TQTY":45.65,"BQTY":10.07},{"CIGNAME":"钻石","TQTY":41.82,"BQTY":9.51},{"CIGNAME":"红旗渠","TQTY":40.16,"BQTY":8.65}],"count":20,"mobileType":"pad","msg":"查询操作成功","result":"1"}
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
只是一个配置问题而已