https://kotlinlang.org logo
#android
Title
# android
s

shebsa

11/22/2017, 2:42 PM
Speaking of json serialization, which one would you recommend for kotlin? Moshi, Jackson, Gson or something else?
s

stantronic

11/22/2017, 4:50 PM
Moshi 🙂
b

bachhuberdesign

11/22/2017, 5:22 PM
+1 for Moshi, although if your app is already using Gson there isn't a huge benefit to switching. Personally I don't like Jackson but I'm sure there are some devs who swear by it (although I've never met any who do)
s

stantronic

11/22/2017, 5:24 PM
Jackson has some nice kotlin extensions and I like it’s JsonNode object for doing targetted search for a particular field
k

kaeawc

11/22/2017, 10:18 PM
Moshi
s

shebsa

11/23/2017, 8:11 AM
Thanks! Will look into Moshi. All projects I’ve been on have used Jackson because someone has liked it and switched from Gson.