Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xjx-serdes: make serializing null fields to self-closed tag configurable #1

Open
jonas-grgt opened this issue Jan 10, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@jonas-grgt
Copy link
Owner

The current implementation serializes null fields as an empty self-closed tag <Tag/>

Make this behavior configurable, by not including the tag if it's field contains null. Exception to this rule would be when the tag does contain a attribute then it should be included in the serialized document <Tag attribute="123"/>

@jonas-grgt jonas-grgt added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant