Hi folks. I need to use generic serialisation class, but got compiler error: `Caused by: java.lang....
y
Hi folks. I need to use generic serialisation class, but got compiler error:
Caused by: java.lang.AssertionError: Couldn't load KotlinClass
Copy code
@Serializable
data class SocketMessage<T>(
    val timestamp: Long?,
    val message: T
)
How can I fix it? kkotlinx-serialization 1.2.1 Thanks
e