Hello guys i’m trying make a exchange application. I will take informations on json file. What is th...
c
Hello guys i’m trying make a exchange application. I will take informations on json file. What is thr best library(s) for working on json? Thanks
c
There is no "best library" šŸ™‚ There are some good ones though šŸ™‚ Jackson, klaxon, moshi, gson
g
considering kotlin context: moshi or kotlin.serialization
s
moshi is much easier to get going and works with nearly all kotlin style idioms out the box, it wasn't clear to me initially how to use kotlin serialization - delegation to gradle etc..
y
Personally prefer Gson. Sweet and Simple.
g
probably too sweet. Every second day somebody asks here why the app is crashing with diabetes NPE šŸ™‚
šŸ˜‚ 2