Join Slack
Powered by
Is there a way to have a property name different t...
# serialization
r
ribesg
03/28/2019, 9:43 AM
Is there a way to have a property name different than the json key, other than having a custom serializer?
ribesg
03/28/2019, 9:43 AM
Is it what
@SerialName
does?
g
gildor
03/28/2019, 9:44 AM
https://github.com/Kotlin/kotlinx.serialization/blob/82e4ba536beba1e2df065e2c4781fc81ee14b282/docs/examples.md#annotations
gildor
03/28/2019, 9:44 AM
Yes
👍 1
9
Views
Open in Slack
Previous
Next