Hi. Anyone know why the kotlinx-serialization-runt...
# serialization
l
Hi. Anyone know why the kotlinx-serialization-runtime-js lib has been been deprecated on npm? - https://www.npmjs.com/package/kotlinx-serialization-runtime-js I’m using serialization as part of my multiplatform project so I am currently left with a library that cannot find this dependency. Is the serialization library currently not setup to support multiplatform kotlin libraries?
a
My understanding is that the serialization library supports JS, but you're supposed to use the version from Maven: https://mvnrepository.com/artifact/org.jetbrains.kotlinx/kotlinx-serialization-runtime-js/0.12.0
When you build for JS, Gradle should extract the kotlinx-serialization-runtime-js.js file from the maven artifact and bundle it in
b
Actually it’s very old unofficial version. We don’t publish kotlinx.serialization runtime to NPM yet.
l
Thank you Zalim.