https://kotlinlang.org logo
#ktor
Title
# ktor
m

Martin Rajniak

10/26/2021, 2:50 PM
Any chance we might get to migration guide before docs are ready? 😉 I need to use 2.0.0 already because of Apple Silicon support, but I am having issues with figuring out how to migrate JSON serialization.
e

e5l

10/26/2021, 2:54 PM
@hhariri
🙏 1
d

duuusha

10/26/2021, 2:56 PM
Currently, you can find the migration guide in the 2.0.0 documentation branch https://github.com/ktorio/ktor-documentation/blob/2.0.0/topics/migrating-2.md The serialization sample already migrated to 2.0.0 https://github.com/ktorio/ktor-documentation/tree/2.0.0/codeSnippets/snippets/client-json-kotlinx Note that it contains dependencies with the
shared
suffix (and imports), which were renamed recently
👌 1
🎉 1
m

Martin Rajniak

10/26/2021, 2:58 PM
Thank you will check it out 🙂
d

duuusha

10/26/2021, 2:59 PM
And the serialization topic for the client is here: https://github.com/ktorio/ktor-documentation/blob/2.0.0/topics/serialization-client.md sorry, it looks not very nice on GitHub with empty code snippets included from the example above
🙏 1
m

Martin Rajniak

10/26/2021, 3:26 PM
No worries - it is way better than me guessing what to do base on the code 😄