Hi folks. I wanted to use `kotlinx.serialization` ...
# ktor
r
Hi folks. I wanted to use
kotlinx.serialization
in
ContentNegotiation
and I can’t find the artifact containing that
serialization()
method as stated in the ktor docs
Copy code
install(ContentNegotiation) {
    serialization()
}
Do you know which artifact I need to include in the gradle file?
j
I had the same problem, the artifacts guide is, IMO, confusing, hope they just show the fully artifact instead of cutting them.
In a few minutes I will share the artifact I used
d
same
j
Copy code
implementation("io.ktor:ktor-serialization:$ktor_version")
🙇‍♂️ 1
r
that one worked, and also I see now that it is changed to
json()
instead of
serialization()
thanks a lot! 🙇