chaokunyang commented on code in PR #1996: URL: https://github.com/apache/fury/pull/1996#discussion_r1905309003
########## docs/guide/java_serialization_guide.md: ########## @@ -522,6 +518,12 @@ fury with `CompatibleMode.COMPATIBLE` has more performance and space cost, do not set it by default if your classes are always consistent between serialization and deserialization. +### Different POJO deserialization +Fury allows you to serialize one POJO and deserialize it into a different POJO. To achieve this, configure Fury with +`CompatibleMode` set to `org.apache.fury.config.CompatibleMode.COMPATIBLE`. Additionally, you only need to register the +specific classes you want to serialize or deserialize; there's no need to register any nested classes within them. Review Comment: ```suggestion `CompatibleMode` set to `org.apache.fury.config.CompatibleMode.COMPATIBLE`. Additionally, you only need to register the specific classes you want to serialize or deserialize to setup type mapping relationship; there's no need to register any nested classes within them. ``` -- 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]
