Join Slack
Powered by
I have a string property "id" in my json object wh...
# ktor
l
LastExceed
03/24/2020, 10:36 AM
I have a string property "id" in my json object which i'd like to wrap in an inline class (or data class if necessary), i know i can use
@JsonValue
to make the serialization work, but what about the deserialization?
d
Dariusz Kuc
03/24/2020, 12:31 PM
You mean something like
https://kotlinlang.slack.com/archives/C0BLHCSHZ/p1584460251003400
l
LastExceed
03/24/2020, 12:32 PM
yes, precisely! thanks!
4
Views
Open in Slack
Previous
Next