:mega: kotlinx.serialization `1.0.0-RC2` has been ...
# serialization
s
📣 kotlinx.serialization
1.0.0-RC2
has been released! This RC contains tweaks and changes based on users feedback after 1.0.0-RC. Important highlights: * JSON serial format was moved to separate
kotlinx-serialization-json
artifact to keep core lightweight. You may need to update your buildscripts and replace
-core
with
-json
. *
encodeDefaults
is now
false
by default because this seems to be a more popular setting. * Fixed several critical bugs (including problems with Android API < 24 and Native ObjC interop). For full changelog and migration guide, see either
CHANGELOG.md
in repository or release notes: https://github.com/Kotlin/kotlinx.serialization/releases/tag/v1.0.0-RC2
🎉 10
c
Tried it and getting:
> Task :logic:linkDebugFrameworkIosX64 FAILED
e: Compilation failed: Deserializer for declaration public kotlinx.serialization.json/Json|null[0] is not found
* Source files:
* Compiler version info: Konan: 1.4.10 / Kotlin: 1.4.10
* Output kind: STATIC_CACHE
e: java.lang.IllegalStateException: Deserializer for declaration public kotlinx.serialization.json/Json|null[0] is not found
e: Compilation failed: Deserializer for declaration public kotlinx.serialization.json/Json|null[0] is not found
Repo: https://github.com/clhols/drchannels
s
Not sure, but maybe that's because ktor depends on RC1. I'll take a closer look
t
Just ran into the same issue: gradle linkReleaseFrameworkIos seems to work, but gradle linkDebugFrameworkIos results in the error above:
Copy code
e: Compilation failed: Deserializer for declaration public kotlinx.serialization.json/Json|null[0] is not found
c
Ktor 1.4.1 fixed it
👍 1