There are lots and lots (and lots) of if’s, and’s and but’s, and in reality there are a whole continuum of techniques The original complicated “something.” How do I select the best serialization technique? Like the Transporter on Star Trek, it’s all about taking something complicated and turning it into a flat sequence of 1sĪnd 0s, then taking that sequence of 1s and 0s (possibly at another place, possibly at another time) and reconstructing Mechanisms are to flatten object(s) into a one-dimensional stream of bits, and to turn that stream of bits back into
Mechanism, then later, perhaps on another computer, reverse the process: resurrect the original object(s).
It lets you take an object or group of objects, put them on a disk or send them through a wire or wireless transport
Serialization and Unserialization What’s this “serialization” thing all about?