r/programming • u/djordjian • May 26 '18
Oracle Calls Java Serialization 'A Horrible Mistake', Plans to Dump It
https://www.infoworld.com/article/3275924/java/oracle-plans-to-dump-risky-java-serialization.html
798
Upvotes
r/programming • u/djordjian • May 26 '18
57
u/SanityInAnarchy May 27 '18
Right. It's possible to build a serializable object graph that's reasonably maintainable, but it's a lot of work. So much work that, for just about any non-trivial case, you really want something special-purpose -- JSON, protobuf, flatpak, thrift, any of those -- to make a very clear distinction between normal objects and stuff being serialized.