If I serialize an object in Java, and then add additional fields to the Java class, then I modified Object in the square.
Is there a series of libraries or is there any way that deserialization of me may be less rigid, as if an additional field is added to the class, then it just fills that old on the class with zero on deserialization Version?
 You need to have a  serialVersionUID  on your class. See the "Version Control" section in 
Comments
Post a Comment