We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSONArray.parseArray当解析的字符串最后多一个逗号会导致数据一直插入0直到内存崩溃
请填写以下信息:
如何操作可以重现该问题:
String str = "[1,]"; List<Integer> list = JSONArray.parseArray(str, Integer.class);
执行完上述代码得到list有1一个数值
The text was updated successfully, but these errors were encountered:
bug fix for parse illegal input, fix issue #709
987f72b
https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/fastjson2/fastjson2/2.0.13-SNAPSHOT/ 问题已经修复,请用2.0.13-SNAPSHOT版本验证,2.0.13版本预计在9月12日前发布
Sorry, something went wrong.
https://github.com/alibaba/fastjson2/releases/tag/2.0.13 2.0.13版本已经发布,请用帮忙用新版本验证
No branches or pull requests
问题描述
JSONArray.parseArray当解析的字符串最后多一个逗号会导致数据一直插入0直到内存崩溃
环境信息
请填写以下信息:
重现步骤
如何操作可以重现该问题:
期待的正确结果
执行完上述代码得到list有1一个数值
The text was updated successfully, but these errors were encountered: