<Kotlin Deserialize Any Type Not Supported> I am t...
# stackoverflow
u
Kotlin Deserialize Any Type Not Supported I am trying to deserialize a JSON into a kotlin class using kotlin.serialization. However when the code goes to deserialize the json it throws the error kotlinx.serialization.SerializationException: Any type is not supported Can anyone help me resolves this? Class: @Serializable data class Product( val id: Int = 0, val name: String = "", val slug: String = "", val permalink: String = "", @SerialName("date_created") val dateCreated: String = "",...