using moshi converter factory for json objects android kotlin code example
Example: android moshi retrofit
dependencies { implementation "com.squareup.retrofit2:converter-moshi:2.4.0"}
dependencies { implementation "com.squareup.retrofit2:converter-moshi:2.4.0"}