May be dumb question but Why is this fine ```@Ser...
# serialization
a
May be dumb question but Why is this fine
Copy code
@Serializable
abstract class Abstract(private val prop : Int? = null)

@Serializable
class Impl(val property: Int) : Abstract(property)
But this is
Impossible to make this class serializable because its parent is not serializable and does not have exactly one constructor without parameters
for
Impl
class
Copy code
@Serializable(with = SomeSerializer::class)
abstract class Abstract(private val prop : Int? = null)

@Serializable
class Impl(val property: Int) : Abstract(property)