Or if you like Gson, there are a number of custom ...
# ktor
o
Or if you like Gson, there are a number of custom serializers available for it, including made for Kotlin, e.g. https://github.com/SalomonBrys/Kotson