Question d’entretien chez RealSelf

How would you go about serializing/deserializing a tree?