-
Notifications
You must be signed in to change notification settings - Fork 510
New issue
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
[BUG] 升级到 2.0.39 以及更新的版本 JSON.toJSON 报错 #2144
Comments
你好,是不是我反馈的问题描述不清晰?还是用法存在问题,辛苦给一个反馈,这个问题影响到公司底层框架的使用,非常紧急,万分感谢🙏!!! |
问题已重现,我尽快处理,争取1月7日前修复发布新版本。 |
辛苦啦!!! |
https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/fastjson2/fastjson2/2.0.45-SNAPSHOT/ |
已修复 |
2.0.47仍然存在 |
Version 2.0.51 still has this problem. |
Version 2.0.52 still has this problem. |
问题描述
升级到 2.0.39 以及更新的版本 JSON.toJSON 报错
环境信息
请填写以下信息:
重现步骤
如何操作可以重现该问题:
版本 2.0.10 - 2.0.38 正常打印结果
版本 2.0.39 - 2.0.44 控制台打印错误
com.alibaba.fastjson2.JSONException: level too large : 2048 at com.alibaba.fastjson2.JSONWriterUTF16.startObject(JSONWriterUTF16.java:117) at com.alibaba.fastjson2.writer.OWG_1_1_B.write(Unknown Source) at com.alibaba.fastjson2.writer.OWG_1_1_B.write(Unknown Source) at com.alibaba.fastjson2.writer.OWG_1_1_B.write(Unknown Source)
The text was updated successfully, but these errors were encountered: