Hello! Consider having an API that conforms with J...
# kotson
j
Hello! Consider having an API that conforms with JSONApi spec (http://jsonapi.org/) and you’re using Retrofit for Android. What would be the best way to define API models in Kotlin? To be more specific, with JSONApi
”data”
tag holds all the relevant data. Usually, that means that you should create a generic data class, but I’m wondering is there a better way?