You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.
Question
1、 问题
抽象问题:一个接口,n个实现,序列化不会保留相关信息,反序列化的时候遇到接口报错。
List 的问题
2、举例
假设有个
他旗下有n个实现类。如:ActionA, ActionB ... ActionAA extends ActionA
同时,我的 Root Class 是一个 class Student,他持有 List actionList;
我如何实现【序列化】的时候,对 Student.actionList,序列他的【全限定类名】?
并在【反序列化】的时候,进行构造回来?
我在 fastjson2 没找到对应的 SerializeConfig,是用 Filter 去做吗?
The text was updated successfully, but these errors were encountered: