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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
2.0.15版本,当往一个JSONObject中放入值为null的属性后,toJSONString输出异常。2.0.14版本无此问题。
1.执行以下代码:
JSONObject test = new JSONObject(); test.put("a", "a value"); test.put("b", null); test.put("c", "c value"); System.out.println(test.toJSONString());
2.输出:
{"a":"a value",,"c":"c value"}
{"a":"a value","c":"c value"}
The text was updated successfully, but these errors were encountered:
fix issue alibaba#828
7c5788a
fix issue #828
55850bf
https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/fastjson2/fastjson2/2.0.16-SNAPSHOT/ 问题已经修复,请用2.0.16-SNAPSHOT帮忙验证,2.0.16版本预计在10月30日前发布
Sorry, something went wrong.
https://github.com/alibaba/fastjson2/releases/tag/2.0.16 问题已修复,请用2.0.16版本
No branches or pull requests
问题描述
2.0.15版本,当往一个JSONObject中放入值为null的属性后,toJSONString输出异常。2.0.14版本无此问题。
环境信息
重现步骤
1.执行以下代码:
2.输出:
期待的正确结果
The text was updated successfully, but these errors were encountered: