Join Slack
Hey, I currently have a problem with a sealed class on kotlin/js (IR) I can only use encodeTo/decode...
# serialization
m
Michael
01/17/2021, 5:48 PM
Hey, I currently have a problem with a sealed class on kotlin/js (IR) I can only use encodeTo/decodeFromString when specifiyng the serializer otherwise an exception is thrown telling me to annotate classes with
@Serializable
but all of them are and work fine on Kotlin/JVM
r
rnett
01/17/2021, 10:03 PM
It's probably not supported, see
https://github.com/Kotlin/kotlinx.serialization/issues/1116
6
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by