there should be a way to use json with just kotlinx-serialization .. and for that there needs to be a module that adds this:
Copy code
package io.ktor.client.features.json
import io.ktor.client.features.json.serializer.KotlinxSerializer
actual fun defaultSerializer(): JsonSerializer = KotlinxSerializer()