Join Slack
Powered by
Hi, could someone explain to me why I'm still gett...
# serialization
m
mytrile
07/24/2022, 5:48 PM
Hi, could someone explain to me why I'm still getting "kotlinx.serialization.SerializationException: Serializer for class 'Project' is not found. Mark the class as @Serializable or provide the serializer explicitly." even if the class is annoted, literally using the 2 line example from
https://github.com/Kotlin/kotlinx.serialization/blob/master/docs/basic-serialization.md#json-decoding
a
andylamax
07/24/2022, 8:00 PM
most likely you are missing the serialization plugin on your build.gradle.kts then
m
mytrile
07/25/2022, 7:06 AM
Yeah, unfortunatelly that was the issue
mytrile
07/25/2022, 7:06 AM
Thanks
3
Views
Open in Slack
Previous
Next