JSON library for JVM and JS


#1

Is there any JSON manipulation/parsing library for Kotlin which can be used both for JVM and JS(so it cannot have any Java dependency) targeting? Built in Kotlin json support is only for JS and everything Ii’ve found for jvm has something from Java.


#2

You could try the multi-target support, probably start with the javascript support (as that is built in to your browser) and make a JVM wrapper that mimicks that behaviour with the Java based json library of your choice.