Github user bbende commented on the issue:

    https://github.com/apache/nifi-registry/pull/23
  
    @kevdoran thanks for taking care of this, what do you think about doing 
something like this?
    
    
https://github.com/apache/nifi/blob/master/nifi-commons/nifi-web-utils/src/main/java/org/apache/nifi/web/util/ObjectMapperResolver.java
    
    You then register that as a provider with Jersey and I think whenever it 
marshalls JSON it will use that custom ObjectMapper.
    
    I guess it depends if we want to make a global decision to never include 
nulls, but my preference would be to keep the Jackson annotations out of the 
domain objects if possible.


---

Reply via email to