class data json kotlin kotlin data class to json From Json to Kotlin Data class. After you get the text response from your API you would need to parse the JSON. … Sunday, November 13, 2022 Edit