You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Michael Brohl (Jira)" <ji...@apache.org> on 2022/02/28 14:51:00 UTC
[jira] [Updated] (OFBIZ-12585) Rest API does not send the null properties in response
[ https://issues.apache.org/jira/browse/OFBIZ-12585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Brohl updated OFBIZ-12585:
----------------------------------
Attachment: (was: mailing.PNG)
> Rest API does not send the null properties in response
> ------------------------------------------------------
>
> Key: OFBIZ-12585
> URL: https://issues.apache.org/jira/browse/OFBIZ-12585
> Project: OFBiz
> Issue Type: Sub-task
> Components: rest-api
> Reporter: Rishi
> Assignee: Michael Brohl
> Priority: Major
>
> The _JacksonConfig.java_ has code snippet _objectMapper.setSerializationInclusion(JsonInclude.Include.NON_NULL);_ that restricts the response data for sending the properties with null values. Making it flexible by either providing a configuration or using _JsonInclude.Include.USE_DEFAULTS_ that allows source class to handle null values.
> Note [~mbrohl] : mailing list discussion see https://lists.apache.org/thread/19r1yhfklqn1753khzb0th47t8bkxdwy
--
This message was sent by Atlassian Jira
(v8.20.1#820001)