-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
json转换成对应的对象,如果是父类,希望根据规则转化成子类 #2289
Labels
Milestone
Comments
并没有解决啊。这个需求要求转换成子类,而https://github.com/alibaba/fastjson/wiki/WriteAs_CN讲的是转换成父类。 |
另外,这个需求讲的是反序列化,而 https://github.com/alibaba/fastjson/wiki/WriteAs_CN 讲的则是序列化。完全不是一回事啊。 |
我发现Jackson支持这个,现在换成Jackson了。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我想根据btype 把json转换成对应的对象,有可能类的层次有点深,目前没有对应的api,目前我都是把json手动转的,很麻烦。
已经内部咨询了温少,说会支持,谢谢哈
The text was updated successfully, but these errors were encountered: