{
"code": 200,
"datas": {
"banner_info": [
{
"pic_name": "冬季名品-大牌季节日",
"phone_pic_img": ""
},
{
"pic_name": "全套茶具专场-年终盛典",
"phone_pic_img": ""
},
{
"pic_name": "女人再忙也要留一天为自己疯抢",
"phone_pic_img": ""
},
{
"pic_name": "全年爆款-年底清仓",
"phone_pic_img": ""
},
{
"pic_name": "清仓年末特优-满99元包邮",
"phone_pic_img": ""
}
],
"hot_info": [
{
"goods_id": "231",
"market_price": "1688.00",
"goods_name": "至尊金奖 法国原瓶进口AOC红酒 任选一箱 红沙城堡红葡萄酒 原装进口",
"goods_price": "899.00",
"goods_pic": "http://192.168.0.199:8081/data/upload/shop/store/goods/1/1_04423392298369303_240.jpg"
},
{
"goods_id": "232",
"market_price": "168.00",
"goods_name": "中华老字号 东阿阿胶桃花姬阿胶糕300g",
"goods_price": "150.00",
"goods_pic": "http://192.168.0.199:8081/data/upload/shop/store/goods/1/1_04423411880302392_240.png"
},
{
"goods_id": "53",
"market_price": "483.00",
"goods_name": "新款 女款 拼接 不规则摆 长袖针织衫开衫 杏雨 紫色",
"goods_price": "99.00",
"goods_pic": "http://192.168.0.199:8081/data/upload/shop/store/goods/1/1_04418254088878407_240.jpg"
},
{
"goods_id": "49",
"market_price": "358.00",
"goods_name": "春装 披肩式 超短款 针织 衫开衫 女装 青鸟 黑色",
"goods_price": "129.00",
"goods_pic": "http://192.168.0.199:8081/data/upload/shop/store/goods/1/1_04418240955916042_240.jpg"
},
{
"goods_id": "48",
"market_price": "358.00",
"goods_name": "春装 披肩式 超短款 针织 衫开衫 女装 青鸟 蓝色",
"goods_price": "129.00",
"goods_pic": "http://192.168.0.199:8081/data/upload/shop/store/goods/1/1_04418240795665638_240.jpg"
}
],
"class_info": []
}
}
这个该怎么解析?
使用fastjson可以做解析的,使用方法参考:https://www.cnblogs.com/cdf-opensource-007/p/7106018.html;另外,自己写的json数据如果希望测试是否可用,可以在这个平台上测试:http://www.bejson.com/jsonviewernew/
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。