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