Re: [jackson-user] setSerializationInclusion(Include.NON_EMPTY) seems to not exclude nulls in arrays?

2018-09-24 Thread Broly1
ahh ok thanks for the reply Tatu! On Saturday, September 22, 2018 at 11:01:46 PM UTC-5, Tatu Saloranta wrote: > > On Fri, Sep 21, 2018 at 11:37 AM Broly1 > > wrote: > > > > Hi all first time using java object to Json conversion. > > > > I'm trying to have the output (Json) not include any

Re: [jackson-user] setSerializationInclusion(Include.NON_EMPTY) seems to not exclude nulls in arrays?

2018-09-22 Thread Tatu Saloranta
On Fri, Sep 21, 2018 at 11:37 AM Broly1 wrote: > > Hi all first time using java object to Json conversion. > > I'm trying to have the output (Json) not include any null values. > > I've tried the following. > objectMapper.setSerializationInclusion(Include.NON_NULL); >

[jackson-user] setSerializationInclusion(Include.NON_EMPTY) seems to not exclude nulls in arrays?

2018-09-21 Thread Broly1
Hi all first time using java object to Json conversion. I'm trying to have the output (Json) not include any null values. I've tried the following. objectMapper.setSerializationInclusion(Include.NON_NULL); objectMapper.setSerializationInclusion(Include.NON_EMPTY);