Skip to content

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

Draft
julianladisch wants to merge 2 commits into
masterfrom
RMB-1012-no-empty-JSON-props
Draft

RMB-1012: Don't store JSON properties with empty list or object#1179
julianladisch wants to merge 2 commits into
masterfrom
RMB-1012-no-empty-JSON-props

Conversation

@julianladisch

Copy link
Copy Markdown
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.
@sonarqubecloud

Copy link
Copy Markdown

@julianladisch
julianladisch marked this pull request as draft December 17, 2024 12:30
@sonarqubecloud

Copy link
Copy Markdown

1 similar comment
@sonarqubecloud

Copy link
Copy Markdown

@psmagin
psmagin removed their request for review April 16, 2026 15:26
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