https://kotlinlang.org logo
r

rrader

12/30/2018, 7:42 PM
Is it possible to configure that in Kotlin classes have properties in camel case, but on serialization/deserialization json properties are in snake case?
q

qlitzler

12/31/2018, 12:49 AM
Copy code
@Serializable
data class(
   @SerialName("my_string") val myString: String
)
r

rrader

12/31/2018, 10:02 AM
well, but somehow to configure globally?
q

qlitzler

12/31/2018, 12:47 PM
I don't think you can
2 Views