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]fastjson反序列化一个字段有多个set #1506

Closed
fatebugs opened this issue May 23, 2023 · 2 comments
Closed

[BUG]fastjson反序列化一个字段有多个set #1506

fatebugs opened this issue May 23, 2023 · 2 comments
Labels
bug Something isn't working fixed
Milestone

Comments

@fatebugs
Copy link

问题描述

fastjson反序列化一个字段有多个set怎么选默认的set
比如说我需要使用这张图里第一个set方法来反序列化
这是否是一个Bug,或者能否有一个注解来标注默认序列化和反序列化的方法
image

@fatebugs fatebugs added the bug Something isn't working label May 23, 2023
@wenshao
Copy link
Member

wenshao commented May 23, 2023

已经支持通过@JSONField来配置,有@JSONFIeld的优先

https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/fastjson2/fastjson2/2.0.33-SNAPSHOT/

请帮忙用2.0.33-SNAPSHOT版本验证

@wenshao wenshao added this to the 2.0.33 milestone May 23, 2023
@wenshao wenshao added the fixed label May 23, 2023
@wenshao
Copy link
Member

wenshao commented May 29, 2023

@wenshao wenshao closed this as completed May 29, 2023
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