krzysztof
03/06/2026, 8:10 PM@Serializable data class RegisterResponse(val ok: Boolean = true)
which then is serialized into string. But I noticed that the serialization part is missing ok: true ? I’m aware that by default setting, default values are not serialized - but in my case, doing RegisterResponse(ok = true) still gives an empty serialized string ({}). Passing ok = false works just finekrzysztof
03/06/2026, 8:15 PMok = true when instantiating this data class <- it will be omitted anyway?Michael Krussel
03/06/2026, 8:16 PMkrzysztof
03/06/2026, 8:18 PM