On Saturday, 16 June 2018 at 08:32:38 UTC, DigitalDesigns wrote: > I need to get the protected and private members for > serialization. This breaks encapsulation. A better design would be to have a class know how to serialize itself via a serializable interface.