Join Slack
Powered by
In this example of serializing sealed classes clas...
# serialization
k
Karlo Lozovina
02/02/2021, 11:48 PM
In this example of serializing sealed classes class has to be cast to the parent type (
Project
) for this to work:
val data: Project = OwnedProject("kotlinx.coroutines", "kotlin")
- is there a way to do it without the cast?
Open in Slack
Previous
Next