Robert Jaros
10/04/2020, 2:33 PM@Serializable
annotation:
SerializationException: Serializer for class 'Test' is not found.
Mark the class as @Serializable or provide the serializer explicitly.
On Kotlin/JS explicitly declared serializer should be used for interfaces and enums without @Serializable annotation
It works when I use @Serializable
, but the documentation states enum do not need this annotation:
https://github.com/Kotlin/kotlinx.serialization/blob/master/docs/builtin-classes.md#enum-classessandwwraith
10/08/2020, 1:13 PM@Serializable
Robert Jaros
10/08/2020, 1:26 PM