`Could not find io.ktor:ktor-serialization-kotlinx...
# ktor
b
Could not find io.ktor:ktor-serialization-kotlinx-json:2.0.0-RC.1
a
Please try version
2.0.0
.
b
thanks looks compiling, however
Copy code
install(ContentNegotiation) {
    json(Json {
}}
has been removed?
a
No. It should work.
Please share your Gradle build script.
b
Copy code
Unresolved reference. None of the following candidates is applicable because of receiver type mismatch: 
public fun Configuration.json(json: Json = ..., contentType: ContentType = ...): Unit defined in io.ktor.serialization.kotlinx.json
a
Please check what packages
json
and
Json
reside at.
The first one should from Ktor and the second from kotlinx.serialization.
b
working now, i had to import
import io.ktor.client.plugins.contentnegotiation