You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 15, 2022. It is now read-only.
I would also like to see an option for the serialiser to serialise a null element as “absent” rather than the current “empty”. I need this in order to drive a third party API which expects some optional elements to be either present and set to a valid value, or completely absent; present but empty is not an acceptable input to that API!
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently Pirity marshals "null" to empty tags:
becomes
Unmarshalling that back to a java object with JaxB will cause "foo" to be an empty string, rather than null.
Would it be possible to add the ability to omit the tag when marshalling "null"s?
The text was updated successfully, but these errors were encountered: