Joe Altidore
09/12/2024, 1:34 PMYour current kotlinx.serialization core version is 2.0.20, while current Kotlin compiler plugin unknown requires at least 1.0-M1-SNAPSHOT. Please update your kotlinx.serialization runtime dependency.
I can't figure out why Kotlin Serialization is throwing this error.
This is the class throwing the error but if i remove the annotation, it works fine
import kotlinx.serialization.Serializable
@Serializable
data class User(
val id: Int,
val uuid: String,
val firstName: String,
val lastName: String,
val otherNames: String?,
val phone: String,
val email: String?,
val role: String,
val createdAt: String,
val updatedAt: String,
val token: String,
)
glureau
09/16/2024, 8:54 AMJoe Altidore
09/16/2024, 11:06 AM