[ 
https://issues.apache.org/jira/browse/NIFIREG-36?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16208730#comment-16208730
 ] 

ASF GitHub Bot commented on NIFIREG-36:
---------------------------------------

GitHub user kevdoran opened a pull request:

    https://github.com/apache/nifi-registry/pull/23

    NIFIREG-36: Add Jackson JsonInclude filters for null fields in data m…

    …odel classes

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kevdoran/nifi-registry NIFIREG-36

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/nifi-registry/pull/23.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #23
    
----
commit 9f0b2f87b02899de319de54a9c9f0b23073d8c7f
Author: Kevin Doran <kdoran.apa...@gmail.com>
Date:   2017-10-18T02:33:56Z

    NIFIREG-36: Add Jackson JsonInclude filters for null fields in data model 
classes

----


> Add Jackson JsonInclude Annotations to NiFi Registry Data Model classes
> -----------------------------------------------------------------------
>
>                 Key: NIFIREG-36
>                 URL: https://issues.apache.org/jira/browse/NIFIREG-36
>             Project: NiFi Registry
>          Issue Type: Improvement
>            Reporter: Kevin Doran
>            Assignee: Kevin Doran
>             Fix For: 0.0.1
>
>
> Currently, NiFi Registry responses include null values for optional fields in 
> the serialized Json. This ticket is to add Jackson annotations that prevent 
> explicit "null" from being serialized for optional fields, instead just 
> omitting the optional fields, as not all clients/frameworks can interpret 
> null correctly.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to