Skip to content

Implemented: rest-api response configurable to contain null values (OFBIZ-12585) - #1636

Open
Lukas-Finster wants to merge 1 commit into
apache:trunkfrom
ecomify:OFBIZ-12585-rest-api-does-not-send-null-values
Open

Implemented: rest-api response configurable to contain null values (OFBIZ-12585)#1636
Lukas-Finster wants to merge 1 commit into
apache:trunkfrom
ecomify:OFBIZ-12585-rest-api-does-not-send-null-values

Conversation

@Lukas-Finster

Copy link
Copy Markdown
Contributor
  • Added properties to configure JacksonConfig. Can be set to ALWAYS to
    return null values. Note that when dealing with custom POJOs the same
    behaviour can be achieved via @JsonInclude(Include.NON_NULL) annotation.
    ServiceRequestWorker.extractResponseData was reworked not to filter out
    null values, as this is already done by JacksonConfig.

(OFBIZ-12585)

* Added properties to configure JacksonConfig. Can be set to ALWAYS to
return null values. Note that when dealing with custom POJO the same
behaviour can be achieved via @JsonInclude(Include.NON_NULL) annotation.
ServiceRequestWorker.extractResponseData was reworked not to filter out
null values, as this is already done by JacksonConfig.
@Lukas-Finster
Lukas-Finster force-pushed the OFBIZ-12585-rest-api-does-not-send-null-values branch from 187b116 to fa9f3e1 Compare August 12, 2026 15:08
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