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

@JSONCreator 注解修饰在静态工厂方法上没有达到预期效果 #4502

Open
till-the-sky opened this issue Apr 25, 2024 · 0 comments

Comments

@till-the-sky
Copy link

如果类中存在无参构造方法,和 @JSONCreator 注解修饰的静态工厂方法,在使用 JSONObject.parseObject() 方法时,并没有调用到 @JSONCreator 修饰的方法,fastjson 版本 1.2.71。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant