chaokunyang opened a new issue, #1998: URL: https://github.com/apache/fury/issues/1998
### Feature Request Continuing the discussion in https://github.com/apache/fury/issues/1972#issuecomment-2569043551, we need to support deserializing one pojo into another type without the need to register class ### Is your feature request related to a problem? Please describe #1972 ### Describe the solution you'd like ## Step1 Extend ClassDef to replace type ``` /** * Return a new {@link ClassDef} by replacing {@code definedClass} of all fields and current {@link ClassSpec} in hierarchy * from {@code cls} into {@code targetCls}. */ public ClassDef replace(Class<?> cls, Class<?> targetCls) { } ``` ## Step2 ### Describe alternatives you've considered _No response_ ### Additional context #1996 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
