i ran through the exact same thought process your ...
# announcements
g
i ran through the exact same thought process your going through now @linear when I came up with our projects serialization-bootstrapping scheme. Ultimately I didn't do anything particularly clever, build a depedency tree and enumerate it, with a slew of classes declaring lines of the form
xstream.registerConverter(XYZConverter::class)