glureau
07/21/2023, 1:58 PM@Serializable @SerialName("Foo") data class Foo(foo: Int) {
@Serializable data class Bar(bar: Int)
}
I'd like to avoid describing a SerialName annotation for Bar and be able to use the serial name "Foo.Bar" in my use case.Adam S
07/21/2023, 2:10 PM@SerialInfo
annotation https://kotlinlang.org/api/kotlinx.serialization/kotlinx-serialization-core/kotlinx.serialization/-serial-info/glureau
07/21/2023, 3:23 PM