Join Slack
Powered by
Q: is there a way to specify the name of the prope...
# serialization
n
natpryce
04/24/2024, 11:15 AM
Q: is there a way to specify the name of the property that identifies the subtype of a sealed class hieararchy when serialised to JSON?
e
ephemient
04/24/2024, 11:17 AM
https://kotlinlang.org/api/kotlinx.serialization/kotlinx-serialization-json/kotlinx.serialization.json/-json-class-discriminator/
👍 2
n
natpryce
04/24/2024, 12:00 PM
Thank you
4
Views
Open in Slack
Previous
Next