I have a complex set of data models that currently implement java.io.Serializable
, and I have successfully serialized and deserialized them with ObjectOutputStream
and ObjectInputStream
.
However, the result are binary files (as expected), and I was wondering if Java supports serialization and deserialization in the same manner to a non-binary format, such as XML.
I see that C# has this feature: http://stackoverflow.com/questions/1092020/xml-vs-binary-performance-for-serialization-deserialization.
Performance speed/ efficiency is not a consideration in this case.