android json字符串包含html字段解析报错

{"ltmodel":[{"fid":"57","name":"新媒体运营","description":"新媒体运营简介","systemid":"34","imgurl":"/var/upload/image/2016/10/20161025092352_91015.jpg"},{"fid":"58","name":"创业实战者","description":"全站VIP享有的高级板块","systemid":"3","imgurl":"/var/upload/image/2016/12/20161206135603_70029.jpg"},{"fid":"54","name":"微信营销","description":"微信营销简介","systemid":"76","imgurl":"/var/upload/image/2016/10/20161025092027_93880.jpg"},{"fid":"55","name":"社区论坛营销","description":"社区论坛营销简介","systemid":"75","imgurl":"/var/upload/image/2016/10/20161025092247_13798.jpg"},{"fid":"56","name":"软文营销","description":"软文营销简介","systemid":"74","imgurl":"/var/upload/image/2016/10/20161025092321_90609.jpg"},{"fid":"45","name":"QQ营销","description":"QQ营销简介","systemid":"77","imgurl":"/var/upload/image/2016/10/20161025091444_23098.jpg"}],"szan":[{"pid":"10","tid":"0","fid":"58","first":"1","author":"15655555202","authorid":"852","subject":"微信淘客实战思维导图","content":"

大数据粗狂式操作.


启动----裂变----规整----沉淀


启动:一个好的启动数据,顶100个垃圾数据!宝妈优先,从身边人或者专业的宝妈APP入手!


裂变:管理式裂变+推荐管理裂变!


规整:数据达不到50左右的几个群合并为一个!


沉淀:下过订单的数据,沉淀到自己的个人微信号!


简单思维导入如下:



欢迎大家在底下留言讨论!一起进步......

有生之年,并肩前行!

","dateline":"1482393728","message":"","useip":"","invisible":"0","anonymous":"0","usesig":"0","htmlon":"0","bbcodeoff":"0","smileyoff":"0","parseurloff":"0","attachment":"0","rate":"0","ratetimes":"0","status":"0","tags":"0","comment":"0","replycredit":"0","position":"0","looknum":"71","recoverytime":"1482763369","alltip":"9","is_show":"0","lmorder":"0","showindex":"0","descr":"","sketch":"","imgurl":"","classid":"","is_showindex":"","sizecolor":"","location_p":"陕西省","location_c":"西安市","typeclass":"2"}]}

解析报错,求解

3个回答

什么地方包含html字段了?你难道是手动解析的吗?
推荐使用工具解析,只要是字符串就不会有问题的。

http://www.bejson.com/
你把上面的JSON数据放到这个网站里面格式化看看是否真的报错。
图片说明
我格式化发现是没有报错的,是标准的JSON格式数据。你再检查看看?

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐