Erik11/03/2023, 4:17 PM
(default Kotlin format) names to
(my default serialized format) the default/automatic using kotlinx.serialization? E.g. I have
I'd like that serial name to be the default / automatic, so that it's unnecessary / implied. I have many data classes with many properties, so it isn't very readable and easy to forget when using
@Serializable data class Foo( val bar: Bar @SerialName("baz_qux") val bazQux: BazQux )
for some of the properties (the ones that have multiple words in the name).
asdf asdf11/03/2023, 4:27 PM
Erik11/03/2023, 4:32 PM