Solutions
Multiplatform
Server-side
Data science
Android
Docs
Community
Teach
Play
Playground
Examples
Koans
toggle menu
kotlinx-serialization
1.7.3
common
switch theme
search in API
kotlinx-serialization-core
/
kotlinx.serialization
/
SealedClassSerializer
/
SealedClassSerializer
Sealed
Class
Serializer
constructor
(
serialName
:
String
,
baseClass
:
KClass
<
T
>
,
subclasses
:
Array
<
KClass
<
out
T
>
>
,
subclassSerializers
:
Array
<
KSerializer
<
out
T
>
>
)
(
source
)