Kotlin serialization: nested polymorpfic moduke
Recently I've been trying to implenent kotlin serialization for polymorphic class hierarchy. I used
this guide, however my example was a bit more complex. I had the following class structure:
@Serializable
open class Project(val name: String)
@Serializable
@SerialName("owned")
open class OwnedProject(val owner: String) : Project("kotlin")...