On Tuesday, 5 August 2014 at 09:54:42 UTC, Sönke Ludwig wrote:
I think we could also simply keep the generic default recursive descent behavior, but allow serializers to customize the process using some kind of trait. This could even be added later in a backwards compatible fashion if necessary.
Simple option is to define required serializer traits and make both std.serialization default and any custom data-specific ones conform it.