I've created a little library to serialize/deseria...
# functional
u
I've created a little library to serialize/deserialize Json in a functional-friendly way: https://github.com/uberto/kondor-json
👍🏼 2
👍 6
🚀 1
m
Not sure why I would prefer it over https://github.com/Kotlin/kotlinx.serialization
Or https://github.com/47degrees/helios which is a bit dead ATM.
u
Helios is part of Arrow, so if you adopt it then it makes sense, otherwise prob not.
Kotlin Serialization was our first choice but it comes with many problems. The biggest being the fact that it force you to have a single Json representation of each domain class, which is problematic if you need to support versions and external api. On top of that is quite complicated to create your own serializers for KS.
1