I've hit my head hard on <https://github.com/Kotli...
# serialization
a
I've hit my head hard on https://github.com/Kotlin/kotlinx.serialization/issues/378. It seems like the only way to solve it is to declare ancestor class non-serializable and override it in final class which is actually serialized. It could be done, but brings a lot of code duplication.