I am trying this code ``` val client = Htt...
# ktor
j
I am trying this code
Copy code
val client = HttpClient(Apache) {
            install(JsonFeature) {
                serializer = GsonSerializer {
                    // .GsonBuilder
                    serializeNulls()
                    disableHtmlEscaping()
                }
            }
        }
And use following versions
Copy code
kotlinVersion = "1.3.0-rc-146"
        coroutineVersion = "0.30.2-eap13"
        serializationVersion = "0.8.2-rc13"

        arrowVersion = "0.7.3"

        jUnitVersion = "5.3.1"

        spekVersion = "2.0.0-rc.1"
        ktorVersion = "0.9.5-rc13"
        kluentVersion = "1.4"

        logbackVersion = "1.2.3"
But somehow I cannot import
JsonFeature
. I already add the deps
Copy code
compile "io.ktor:ktor-client-json:$ktorVersion"
    compile "io.ktor:ktor-client-apache:$ktorVersion"