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:49:00 UTC

[jira] [Assigned] (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 reassigned OFBIZ-12585:
-------------------------------------

    Assignee: Michael Brohl

> 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
>         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)