Mark
10/19/2024, 6:59 AM@Serializable
. Am I right in thinking there should also be a @SerialName("Foo")
annotation (when there is no custom serializer)?KR
10/21/2024, 6:10 AM@Serializable
annotation is enough on the class. @SerialName("Foo")
annotation is for the variable in the class that has to be serialized with that name, it is optional.Mark
11/22/2024, 6:58 AM