Join Slack
Powered by
Hi everyone, I don't really like that serializing ...
# serialization
a
agu
08/18/2020, 9:13 PM
Hi everyone, I don't really like that serializing a nullable which is null, returns null in json. I would love to ignore the field completely. Using
encodeDefaults = false
it's not an option. Is there a workaround? If not (else haha), what library would you recommend (that DOESN'T use reflection)?
2
Views
Open in Slack
Previous
Next