I am trying to find an example of working Polymorphic serialization with sealed class hierarchy and for now found only some scraps in commit history of kotlinx.serialization. Do anybody have a reference. My class hierarchy looks like this
https://pastebin.com/59usEBxS and I need to have a List of those, which will be transformed into XML (via
@pdvrieze plugin) and read back depending on tag name.