-
Notifications
You must be signed in to change notification settings - Fork 52
Deserialize array with nulls #92
Comments
What would be needed is test case to show what happens. Description only helps up to certain point. But there are plans for generally configurable handling of FasterXML/jackson-databind#1402 which could eventually allow ignoral (using |
I've also encountered this, since ImmutableList doesn't allow nulls, should GuavaCollectionDeserializer handle nulls as a special case ? maybe implement getNullValue ? |
This issue should be re-created at: https://github.com/FasterXML/jackson-datatypes-collections/issues since this repo is deprecated (single repo is easier for releasing new versions, so somewhat related modules are lumped under one undrella repo). As to solution: implementing But as to what could be done... I am not really happy with simply dropping |
Deserializing an array with a null element will result in the ImmutableList throwing a nullpointer.
Is there a setting to ignore nulls, is this the expected behaviour or can the library be updated to ignore nulls based on a setting ?
Or should ignoring the nulls be default behaviour ?
The text was updated successfully, but these errors were encountered: