I was going through this article to understand more about Java Serialization process. When it comes to uses of readObject/writeObject I could see two use cases:
There could be several reasons for using custom serialization:
To name just a few, but I'm sure there are many more.