<https://ktor.io/clients/http-client/features/json...
# ktor
n
https://ktor.io/clients/http-client/features/json-feature.html this page implies kotlinx.serialization is only useable on native with the ktor client ?
1
e
But PR is always welcome 🙂
n
i seem to fail to import it in idea.. apparently the package is available but idea just does not like to think that
io.ktor.client.features.json.JsonFeature
exists
e
Could you provide some additional information(like project snippet and build.gradle configuration)? Please note that kotlin native support in IDEA is unavailable for now.
n
i am on kotlin-jvm 1.2.60
io.ktor:ktor-client-json:0.9.4
is listed in External Libraries and in the dependencies in the gradle tab i have a multi project setup

https://i.imgur.com/nfquwd5.png

maybe i just have to restart idea..
@e5l with PR you meant.. using kontlinx.serialization in jvm ? because i seem to be unable to use JsonFeature without compiling ktor-client-jackson and i did not find another artifact for it
👌 1
r
@Nikky I had the same problem with the JsonFeature not importing, you need to include one of the implementations, i.e.
io.ktor:ktor-client-jackson
or
io.ktor:ktor-client-gson
, to make it work
n
Or json-jvm
Slack Website Seems to be down for me otherwise I had more things to ask