Not sure if it is intentional but... is it necessa...
# serialization
m
Not sure if it is intentional but... is it necessary to add
@Serializable
to enums? I'm having issues with enums without the
@Serializable
annotation in JavaScript (haven't tested in the JVM yet)
t
Kotlin
1.3.72
?
m
Yes (the plugin version is 1.3.70, should try updating that heh)
t
Serialization -
0.20.0
?
m
Yes
Annotation required
Since
0.11.0
m
It would be nice if this (https://github.com/Kotlin/kotlinx.serialization/blob/master/docs/examples.md) was updated, I thought they were serializable by default because "Enums are implicitly @Serializable"