<Ktor: Serializer for class 'JsonLiteral' is not f...
# forum
r
Ktor: Serializer for class 'JsonLiteral' is not found Recently updated my Ktor from 1.6 to 2.3.0 and some requests work fine but others have this error: Serializer for class ‘JsonLiteral’ is not found. Please ensure that class is marked as ‘@Serializable’ and that the serialization compiler plugin is applied. It works fine when I switch back to 1.6 and nothing was changed in the data classes. I use kotlinx.serialization. Ktor import io.ktor.client.* import io.ktor.client.call.* import io.ktor.client.engine.cio.* import...