Skip to content

Conversation

@Enigo
Copy link

@Enigo Enigo commented Mar 1, 2018

Hi, the use-case for this newly created annotation is quite simple: omit the Collection, Map and String fields in case if they are empty. Like in jackson this can be done using JsonInclude.NOT_EMPTY source annotation.
I understand, that the changes are rather significant (after all, it's a new API), so I'm very open to discussion and improvements. If this change looks good, I'll write more test, I promise)

@coveralls
Copy link

coveralls commented Mar 3, 2018

Coverage Status

Coverage increased (+0.02%) to 77.974% when pulling 6c5c55f on Enigo:master into c7bcb66 on x-stream:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants