Hi,
Do I need to design functions for each custom type?
Thx
Yes
If a lot of your types share a custom property/interface, you could partially specialize adl_serializer, and use enable_if to only write the code once.
But for regular application types, it is needed to define one from_json/to_json pair for each one.