Serialization of data structures with references to other parts of itself.