I'm using Kotlinx Serialization to deserialize JSO...
# serialization
l
I'm using Kotlinx Serialization to deserialize JSON:
Copy code
val data: String // some JSON string
val json = Json { ignoreUnknownKeys = true }
val parsed = json.decodeFromString<GearPendingStateUpdateEvent>(data)
But I get this error: