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
fastjson2 通过注解JSONType#seeAlso配置类型别名,使用JSONB.toBytes()序列化数据后,再使用JSONB.parseObject() 反序列化导致JVM崩溃
复现代码
fastjson2_test.zip
对您期望发生的结果进行清晰简洁的描述。
hs_err_pid94413.log
The text was updated successfully, but these errors were encountered:
https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/fastjson2/fastjson2/2.0.57-SNAPSHOT/ 能帮忙用2.0.57-SNAPSHOT版本验证问题是否修复么?
Sorry, something went wrong.
使用最新快照fastjson2-2.0.57-20250321.052620-63.jar,问题依然存在
@wenshao 您好,我研究了一下fastjson2的代码,目前fastjson2 jsonb不支持Type seeAlso指定TypeKey,查看了master分支关于SeeAlso的单元测试,没有覆盖jsonb seeAlso指定TypeKey的情况
fix SeeAlso deserialize not work on non-first-type, for issue #3440
8e2a777
已经修复,请帮忙用新的快照帮忙在验证下
https://github.com/alibaba/fastjson2/releases/tag/2.0.57 问题已修复,请用新版本
No branches or pull requests
问题描述
fastjson2 通过注解JSONType#seeAlso配置类型别名,使用JSONB.toBytes()序列化数据后,再使用JSONB.parseObject() 反序列化导致JVM崩溃
环境信息
重现步骤
复现代码
fastjson2_test.zip
期待的正确结果
对您期望发生的结果进行清晰简洁的描述。
相关日志输出
hs_err_pid94413.log
附加信息
The text was updated successfully, but these errors were encountered: