I’m facing a runtime issue with `1.0.0-RC2` (did n...
# serialization
l
I’m facing a runtime issue with
1.0.0-RC2
(did not happen with
1.0.-RC
) with my custom serializer using Json. It’s minified by the stacktrace contains this piece:
Copy code
Caused by: kotlinx.serialization.SerializationException: Serializer for class 'k' is not found.
Mark the class as @Serializable or provide the serializer explicitly.
a
This sounds very similar to what I ran into with https://github.com/Kotlin/kotlinx.serialization/issues/1094, are you using the serializers for
JsonElement
directly? There’s a PR here that will update the README’s ProGuard configuration: https://github.com/Kotlin/kotlinx.serialization/pull/1095