Tomas Kormanak
08/24/2021, 7:54 AMTomas Kormanak
08/24/2021, 12:20 PMid
in json only when id != null
data class Entity (
val id: String? = null
val name:String = "name"
)
I use option encodeDefaults = true
because i need all other properties included.