> but even though, I would prefer “” instead of...
# android
m
but even though, I would prefer “” instead of null
Theoretically, your back-end should send information in some correct format. And
null
is a correct JSON value too, and sometimes it shouldn’t be ignored. As a workaround, you can write a TypeAdapter / ObjectDeserializer.