I'm trying the new ktor-client-json-js but getting...
# ktor
j
I'm trying the new ktor-client-json-js but getting the following error: "NoTransformationFound: No transformation found: class JsHttpResponse -> class StartPage at Coroutine$receive_jo9acv$.doResume (http://127.0.0.1:8080/lib/ktor-client-core-js.js:1240:21) I'm installing the JsonFeature like this:
Copy code
install(JsonFeature) {

            serializer = KotlinxSerializer().apply {
                register(StartPage.serializer())
            }
        }
The same code works just fine on iOS & Android Am I missing something here?
using client.get<String> instead of client.get<StartPage> and manually parsing it with JSON.parse(StartPage.serializer(), json) worked, so KotlinxSerializer isn't supported yet?
s
same issue for me right now
Had you found any solution? @Jonas Bark
j
no, just the mentioned workaround