报错:com.alibaba.fastjson.JSONException: illegal identifier : \pos 1, line 1, column 2
fastjson
FASTJSON 2.0.x has been released, faster and more secure, recommend you upgrade.
项目地址:https://gitcode.com/gh_mirrors/fastj/fastjson
免费下载资源
·
{\"code\":\"102\",\"consNo\":\"35445620\",\"rcvblYm\":\"20201124\"}
String字符串转Json数据时出现这种情况,这是因为\未被转义的原因
解决方法:String s = StringEscapeUtils.unescapeJava(param);
GitHub 加速计划 / fastj / fastjson
25.69 K
6.51 K
下载
FASTJSON 2.0.x has been released, faster and more secure, recommend you upgrade.
最近提交(Master分支:3 个月前 )
c942c834 - 1 年前
5bc4709b - 1 年前
更多推荐
已为社区贡献2条内容
所有评论(0)