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
Czar
03/09/2019, 6:47 PM
There is no "best library" 🙂 There are some good ones though 🙂
Jackson, klaxon, moshi, gson
g
ghedeon
03/09/2019, 7:07 PM
considering kotlin context: moshi or kotlin.serialization
s
sitepodmatt
03/10/2019, 6:39 AM
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
yaaash
03/10/2019, 7:21 AM
Personally prefer Gson. Sweet and Simple.
g
ghedeon
03/10/2019, 12:22 PM
probably too sweet. Every second day somebody asks here why the app is crashing with diabetes NPE 🙂