Skip to content

Commit

Permalink
Update java_serialization_guide.md
Browse files Browse the repository at this point in the history
  • Loading branch information
orisgarno authored Feb 1, 2025
1 parent 03f4ab7 commit b08afc4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs/guide/java_serialization_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -521,9 +521,7 @@ consistent between serialization and deserialization.
### Deserialize POJO into another type

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 to setup type mapping relationship; there's no need to register any nested classes within them.
[See example here](/java/fury-core/src/test/java/org/apache/fury/serializer/compatible/DifferentPOJOCompatibleSerializerTest.java)
`CompatibleMode` set to `org.apache.fury.config.CompatibleMode.COMPATIBLE`.

### Use wrong API for deserialization

Expand Down

0 comments on commit b08afc4

Please sign in to comment.