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
使用JSONB进行对象拷贝操作,例如:JSONB.parseObject(JSONB.toBytes(对象A), 目标类B.class) 如果类A中有LocalDate属性,类B没有,并且对象A的LocalDate属性不为null,那么上面的语句将会报错:
请填写以下信息:
1、类A 2、类B 3、代码 4、报错
正常反序列化,或者忽略目标类不存在的属性,设置了好像没用。
请复制并粘贴任何相关的日志输出。
如果你还有其他需要提供的信息,可以在这里填写(可以提供截图、视频等)。
The text was updated successfully, but these errors were encountered:
bug fix for jsonb skip LocalDate, for issue #2907
6ebb67b
https://github.com/alibaba/fastjson2/releases/tag/2.0.53 问题已修复,请用新版本
Sorry, something went wrong.
No branches or pull requests
问题描述
使用JSONB进行对象拷贝操作,例如:JSONB.parseObject(JSONB.toBytes(对象A), 目标类B.class)
如果类A中有LocalDate属性,类B没有,并且对象A的LocalDate属性不为null,那么上面的语句将会报错:
环境信息
请填写以下信息:
重现步骤
1、类A
2、类B
3、代码
4、报错
期待的正确结果
正常反序列化,或者忽略目标类不存在的属性,设置了好像没用。
相关日志输出
请复制并粘贴任何相关的日志输出。
附加信息
如果你还有其他需要提供的信息,可以在这里填写(可以提供截图、视频等)。
The text was updated successfully, but these errors were encountered: