com.alibaba.fastjson.JSONException: illegal identifier : \
fastjson
FASTJSON 2.0.x has been released, faster and more secure, recommend you upgrade.
项目地址:https://gitcode.com/gh_mirrors/fastj/fastjson

·
原因是因为传参的关系,使字符串中保留这"\"线,可以使用String.replaceAll("\\\\","");将所有的"\"线替换为空串
可以将字符串打印到控制台进行查看




FASTJSON 2.0.x has been released, faster and more secure, recommend you upgrade.
最近提交(Master分支:1 个月前 )
c942c834 - 2 年前
5bc4709b - 2 年前
更多推荐
所有评论(0)