Answer the question
In order to leave comments, you need to log in
Is there a JSON library for Kotlin or Scala that will work with data/case classes without annotations?
We need a library for working with JSON, which will not use class annotations and at the same time will be able to turn objects that come from the browser into the corresponding classes. I ask about both Scala and Kotlin, because these two JVM languages allow you to share code between the client and the server. The essence of the idea is to store the models in a shared space and at the same time transfer them between the client and the server. Accordingly, any JVM annotations are not suitable, since this code will not compile in a "browser" environment.
Answer the question
In order to leave comments, you need to log in
Look aside https://github.com/Kotlin/kotlinx.serialization
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question