Skip to content
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],SupportSmartMatch全局配置无效 #2349

Closed
xuzhe521 opened this issue Mar 20, 2024 · 2 comments
Closed

[BUG],SupportSmartMatch全局配置无效 #2349

xuzhe521 opened this issue Mar 20, 2024 · 2 comments
Labels
bug Something isn't working fixed
Milestone

Comments

@xuzhe521
Copy link

问题描述
SupportSmartMatch全局配置无效

环境信息
OS信息: win11
JDK信息:jdk17
版本信息:Fastjson2 2.0.46 springboot3.2.0
重现步骤:
image
在启动类加全局配置开启SupportSmartMatch,
jsonArray.toJavaList(obj.class)反序列化会使大量字段值为null
image

需使用jsonArray.toJavaList(obj.class, JSONReader.Feature.SupportSmartMatch)才能正常反序列化
image

@wenshao wenshao added the bug Something isn't working label Mar 20, 2024
@wenshao wenshao added this to the 2.0.48 milestone Mar 20, 2024
@wenshao
Copy link
Member

wenshao commented Mar 20, 2024

https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/fastjson2/fastjson2/2.0.48-SNAPSHOT/ 问题已修复,请帮忙用2.0.48-SNAPSHOT验证,2.0.48正式版本预计在月末发布

@wenshao
Copy link
Member

wenshao commented Mar 25, 2024

@wenshao wenshao closed this as completed Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed
Projects
None yet
Development

No branches or pull requests

2 participants