Edouard Goossens

    4 years ago
    I’m trying to use the JS DynamicObjectParser. I get a “Can’t locate default serializer for class” error. When I manually silence the error, deserialization works fine (the serializer exists and is found). It seems the runtime library doesn’t recognize the serializer as implementing KSerializer. It’s hard to try and reproduce this error in a minimal example because my project consists of several interacting modules. Maybe someone ran into this before? Happens with both kotlinx-serialization-runtime-js 0.5.1 and 0.6.0
    To manually silence the error, I replace the Kotlin.isType check from “KSerializer” to “Any”