It's always tempting but incredibly rare that I actually want the kotlinx.serialization `polymorphic()` modules.

Reply to this note

Please Login to reply.

Discussion

This is the equivalent of serialization using type classes in functional programming languages. You won't be able to do without for anything moderately complex.