[
https://issues.apache.org/jira/browse/NIFIREG-36?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16209479#comment-16209479
]
ASF GitHub Bot commented on NIFIREG-36:
---------------------------------------
Github user kevdoran commented on the issue:
https://github.com/apache/nifi-registry/pull/23
Yeah, I agree that would be preferable. I'll push an updated that moves the
Include rules to a custom ObjectMapper rather than introducing Jackson
annotations on the domain objects themselves. Thanks for the feedback @bbende.
> 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)