How can I do JSON serialization using Compose for web, I've tried Kotlinx serialization it results in a error, I've resorted to using
js("JSON.stringify(s)")
but this seems to have a few problems, namely the incorrect naming of properties.
e
ephemient
06/25/2021, 5:51 PM
what did you run into with kotlinx.serialization? there was https://github.com/Kotlin/kotlinx.serialization/issues/968 preventing simultaneous use of Compose and kotlinx.serialization in the same module, but that could be avoided by splitting modules and should be resolved in any recent version.