Hello!
I've tested a few ways to remove Null values from my output file (Json).
However, there seems to be some that are missed.
I've tried the following:
objectMapper.setSerializationInclusion(Include.NON_NULL);
objectMapper.setSerializationInclusion(Include.NON_EMPTY);
@JsonInclude(Include.NON_NULL);
These have removed around 2150 nulls from the output file.
However, the results still have some that are present in the form of:
"Order1" : [ null, null, null, null, null, null ],
"Order2" : [ null, null, null, null, null, null ],
Is this an existing issue?
--
You received this message because you are subscribed to the Google Groups
"jackson-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.