Hi,
I need to write a serialization (to XML string) and restoring (from XML
string) of a very complicated object. The object uses a few classes, one
class has two ArrayLists, etc. The general structure supposes to have 2-3
levels.
What's easier, to write a serialization method for each class used by the
main class and a short method to gather all these XML strings together into
one complex string or to use some trick and serialize the whole structure
into one XML?
I expect that this structure will be changing and the deserialization should
read all previous versions, so that Ser./Deser. methods should be created
now to support all further versions.
Did anybody write these methods for a very complicated class? What's
experience?
Thanks,
Dmitri