question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

KotlinxSerializer not found in 1.2.0-rc

See original GitHub issue

Ktor Version

1.2.0-rc, 1.2.0-rc2

Ktor Engine Used(client or server and name)

Android client

JVM Version, Operating System and Relevant Context

Feedback

I see that KotlinxSerializer was moved to ktor-client-serialization. But even after adding that, the io.ktor.client.features.json.serializer package is unresolved.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

7reactions
diklimchukcommented, Aug 12, 2019

For multiplatform projects you can use

dependencies {
          ....
    implementation "io.ktor:ktor-client-serialization:$versions.ktor"
          ....
}

Dit it for me

1reaction
ShoMasegicommented, Jun 16, 2019

@TWiStErRob

dependencies {
          ....
    implementasion "io."io.ktor:ktor-client-serialization-jvm:$versions.ktor"
          ....
}

https://ktor.io/clients/http-client/features/json-feature.html is wrong.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ktor. Can't create an instance of Httpclient in kotlin-js side
Ktor Client Serialization JS: Can't obtain default serializer / NoSuchElementException · KotlinxSerializer not found in 1.2.0-rc.
Read more >
io.ktor:ktor-client-json: Versions | Openbase
Client: URL encode / escaping is wrong (KTOR-341); HTTP/2 push fails with netty engine (KTOR-800); Request headers exceeding expected threshold are not ......
Read more >
WhatsNew 2.0 | Ktor Framework
Client. "KotlinReflectionInternalError: No accessor found for property" when response body received as HttpStatement.
Read more >
Missing KotlinxSerializer after update Ktor to 1.4.0 - YouTrack
Missing KotlinxSerializer after update Ktor to 1.4.0. I'm updating my project to Kotlin ... Unresolved reference: KotlinxSerializer. The dependencies are:.
Read more >
Migration - 1.0.0-beta-3 - 《Ktor 1.3 Quick Start》 - 书栈网
WebSocket improvements; Optional Authentication; Missing call.respondBytes; Version bumps. generateCertificate; New ktor-samples repository.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found