I have been out of JSON Parsing lately, what kind ...
# android
g
I have been out of JSON Parsing lately, what kind of libraries do the most of you use currently? I find lots of them on Github
m
Moshi and Gson
e
moshi
g
I used GSON before that was a bit deprecated on Kotlin inline classes
s
Moshi. Or, if you feel like it, you could have a go at kotlinx.serialization: https://github.com/Kotlin/kotlinx.serialization
j
Moshi or kotlinx.serialization. Gson is dead in the water.
kotlinx.serialization rocks 🔥
j
Whatever those benchmarks show, it's not going to be representative for Moshi because it uses a String instead of bytes as its input which is not how you would use it in practice (and not the path it's optimized for)
👍 1
a
will try to fix it