You have to write a custom type adapter... look up...
# android
k
You have to write a custom type adapter... look up moshi generics on stackoverflow. This isn't Kotlin related..