Alexander Zhirkevich
@Serializable abstract class Abstract(private val prop : Int? = null) @Serializable class Impl(val property: Int) : Abstract(property)
Impossible to make this class serializable because its parent is not serializable and does not have exactly one constructor without parameters
Impl
@Serializable(with = SomeSerializer::class) abstract class Abstract(private val prop : Int? = null) @Serializable class Impl(val property: Int) : Abstract(property)
A modern programming language that makes developers happier.