xun su
11/15/2022, 2:17 PM{ "refresh-token" : "some thing" }
I got error like this:Landry Norris
11/15/2022, 2:17 PM@JsonNames("refresh-token") val token: String
Landry Norris
11/15/2022, 2:17 PMxun su
11/15/2022, 2:22 PMLandry Norris
11/15/2022, 2:23 PMephemient
11/15/2022, 11:06 PM@SerialName
instead of @JsonNames
so that it works with other formats and with serialization as well. @JsonNames
is more useful for coalescing a number of alternative names to one during deserialization.