Skip to content

RMB-1012: Don't store JSON properties with empty list or object #1179

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

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

julianladisch
Copy link
Contributor

https://folio-org.atlassian.net/browse/RMB-1012

When serializing a POJO to JSON skip (suppress) any property that contains an empty list [] or an empty object {}.

When deserializing JSON to POJO create an empty List or an empty Map if the property is missing in the JSON.

Replaces #1178

https://folio-org.atlassian.net/browse/RMB-1012

When serializing a POJO to JSON skip (suppress) any property that contains
an empty list `[]` or an empty object `{}`.

When deserializing JSON to POJO create an empty List or an empty Map if
the property is missing in the JSON.
@julianladisch julianladisch marked this pull request as draft December 17, 2024 12:30
1 similar comment
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.

1 participant