Facing issues when trying to serialise data classe...
# serialization
s
Facing issues when trying to serialise data classes with js primitive types, seems like an issue with the generated js serializer code. Serialization attempts always throw a
ClassCastException
due to an instanceof check kotlinx-ser adds which won’t work with js primitive types. Issue with sample code: https://github.com/Kotlin/kotlinx.serialization/issues/3048 Please help if anyone knows of a solve