Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

自定义枚举反序列化器失败 #2688

Closed
tuhanbao opened this issue Jun 11, 2024 · 3 comments
Closed

自定义枚举反序列化器失败 #2688

tuhanbao opened this issue Jun 11, 2024 · 3 comments
Labels
bug Something isn't working fixed
Milestone

Comments

@tuhanbao
Copy link

image

这个else分支是不是要挪到外面,我自定义的ObjectReader走不进去,ObjectReaderImplEnum是个final,也没法通过继承绕过去

@tuhanbao tuhanbao added the bug Something isn't working label Jun 11, 2024
@tuhanbao
Copy link
Author

com.alibaba.fastjson2.util.TypeUtils类

@yanxutao89
Copy link
Collaborator

麻烦提供下可复现的示例代码

wenshao pushed a commit that referenced this issue Jun 25, 2024
…2727)

* fix support custom reader for enum, for issue #2688 and issue #2726
@wenshao wenshao added this to the 2.0.52 milestone Jun 25, 2024
@wenshao wenshao added the fixed label Jun 25, 2024
@wenshao
Copy link
Member

wenshao commented Jul 14, 2024

https://github.com/alibaba/fastjson2/releases/tag/2.0.52
问题已修复,请用新版本

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

No branches or pull requests

3 participants