April 2020
Intermediate to advanced
412 pages
9h 58m
English
In our test application, we defined a data type to represent paths from a source point to multiple destination points. We intentionally used hierarchical structures scattered in memory to demonstrate how to approach this problem in a generic way.
If we do not have specific requirements for performance, one of the possible approaches to serialization is storing data in text format. Besides its simplicity, it has two major advantages:
To work with text representation, we can use the input and output streams ...