Can someone explain to me why they use moshi over ...
# android
s
Can someone explain to me why they use moshi over gson? I followed it during development, and I never understood what moshi's end goal was, considering gson exists. I thought maybe it's purpose was to use okio throughout the whole response stack, but last benchmarks I saw had worse performance than gson. It's api is slightly more inconvenient than gson, and it seems to require a bit more handholding as well. I've never actually used it because I didn't see it's advantages. If you use moshi over gson, I'd be curious to know why, so that I might better understand if there is an advantage I've been blind to.
👍 3