Join Slack
Powered by
It seems like there's no serializer for `Throwable...
# serialization
d
dave08
03/13/2023, 4:00 PM
It seems like there's no serializer for
Throwable
...
p
phldavies
03/13/2023, 4:17 PM
You can create a custom serializer and use the
@file:UseSerializers
annotation to bring it into usage on your data class (or annotate the property)
phldavies
03/13/2023, 4:18 PM
This is probably relevant:
https://github.com/Kotlin/kotlinx.serialization/blob/master/docs/serializers.md#serializing-3rd-party-classes
d
dave08
03/13/2023, 4:22 PM
Yeah, that's what I was looking for, thanks!
19
Views
Open in Slack
Previous
Next