File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -367,7 +367,7 @@ We can update the previous example and turn `Project` superclass into an interfa
367
367
mark an interface itself as ` @Serializable ` . No problem. Interfaces cannot have instances by themselves.
368
368
Interfaces can only be represented by instances of their derived classes. Interfaces are used in the Kotlin language to enable polymorphism,
369
369
so all interfaces are considered to be implicitly serializable with the [ PolymorphicSerializer]
370
- strategy. We just need to mark thier implementing classes as ` @Serializable ` and register them.
370
+ strategy. We just need to mark their implementing classes as ` @Serializable ` and register them.
371
371
372
372
<!-- - INCLUDE
373
373
import kotlinx.serialization.modules.*
You can’t perform that action at this time.
0 commit comments