Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 1
    Do the classes (not objects) change at all? I.e. do you add, remove, or modify field definitions? Commented Sep 29, 2014 at 17:49
  • 1
    Good point, I expect changing the fields to be quite rare, but I couldn't guarantee that they wouldn't change at all. JSON would definitely have an advantage there. Commented Sep 29, 2014 at 17:58
  • 1
    Java serialization has extra hoops to jump through. I don't have time to write up a proper answer right now, but I will mention you can write custom methods on your class to support reading old class versions among other things. Commented Sep 29, 2014 at 18:06
  • have you seen MessagePack? There is even a Jackson Binding Provider for it! Commented Sep 30, 2014 at 3:14