You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Rishi (Jira)" <ji...@apache.org> on 2022/02/28 14:31:00 UTC

[jira] [Created] (OFBIZ-12585) Rest API does not send the null properties in response

Rishi created OFBIZ-12585:
-----------------------------

             Summary: 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
         Attachments: mailing.PNG

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.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)