Ran Magen
05/30/2021, 6:59 PMkotlinx-serialization
to work. I’ve tried any reasonable set up I can think of, but the code fails at runtime saying:
Serializer for class 'SpsRecordIn' is not found.
Mark the class as @Serializable or provide the serializer explicitly.
However:
import kotlinx.serialization.Serializable
...
@Serializable
data class SpsRecordIn(...)
This is in my build.gradle.kts
:
plugins {
application
kotlin("jvm") version "1.5.10"
kotlin("plugin.serialization") version "1.5.10"
}
Can anyone help?LastExceed
05/30/2021, 7:17 PMbuild
folder and doing File -> Invalidate Caches
?turansky
05/30/2021, 7:21 PMRan Magen
05/30/2021, 8:38 PM