I have Json array containing null
value in array.
{
myArray: [ null ]
}
How to configure Jackson ObjectMapper to ignore such null
array elements - as if it was empty array []
?
Constrains:
- No control of source class - it is a third party class
- Array element type is unknown upfront
- Array(s) name is unknown upfront