Thread
#serialization
    l

    leandro

    2 years ago
    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:
    Caused by: kotlinx.serialization.SerializationException: Serializer for class 'k' is not found.
    Mark the class as @Serializable or provide the serializer explicitly.
    Alex Vanyo

    Alex Vanyo

    2 years ago
    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