dimanche 8 mars 2020

Is there a way to serialize a Java object without class modification?

I want to serialize an object in my project, but the class for this object is provided in a library. So I do not want to add Serializable interface to the class.

Can I serialize and deserialize it by reflection?





Aucun commentaire:

Enregistrer un commentaire