码迷,mamicode.com
首页 > Web开发 > 详细

如何对json数据格式化?

时间:2017-10-16 12:17:07      阅读:250      评论:0      收藏:0      [点我收藏+]

标签:json格式化   在线   

当我们调试接口时,返回一堆一堆的无格式的json数据,是不是很晕!例如:

{"result":"0","data":[{"sid":"77","name":"\u56fd\u751f\u7535\u5668","words":"","address":{"province_id":"","province":"11","city_id":null,"city":"149","district_id":null,"district":"1258"},"logo":"http:\/\/mobile\/images\/201710\/1507768797395409220.jpg","goods":[]},{"sid":"76","name":"\u4ebf\u548c\u95e8\u4e1a","words":"","address":{"province_id":"","province":"11","city_id":null,"city":"149","district_id":null,"district":"1251"},"logo":"http:\/\/mobile\/images\/201710\/1507767386143757512.jpg","goods":[]}]}

不要着急,我们推荐一款在线代码格式化工具,网址:www.ecjson.com,点击json格式化,可以很方便的进行数据格式化

如何对json数据格式化?

标签:json格式化   在线   

原文地址:http://dayeecc.blog.51cto.com/13381334/1972626

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!