You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DeserializationFeature.UNWRAP_SINGLE_VALUE_ARRAYS not respected #21
So using an array with one value should work. It does with strings. Also probably if DeserializationFeature.ACCEPT_EMPTY_ARRAY_AS_NULL_OBJECT is enabled, an empty array should result in a null value.
@JPMoresmau There is no general way for jackson-databind to add support (since it does not know what shapes datatype might support), so every deserializer has to support these features. So there are probably plenty of datatypes that have incomplete support for this feature as well as related (empty String / empty Array to null).
changed the title [-]DeserializationFeature.UNWRAP_SINGLE_VALUE_ARRAYS not respected [/-][+]`DeserializationFeature.UNWRAP_SINGLE_VALUE_ARRAYS` not respected [/+]on Mar 27, 2017
Activity
cowtowncoder commentedon Mar 22, 2017
@JPMoresmau There is no general way for
jackson-databindto add support (since it does not know what shapes datatype might support), so every deserializer has to support these features. So there are probably plenty of datatypes that have incomplete support for this feature as well as related (empty String / empty Array to null).I assume this is with 2.8.7.
[-]DeserializationFeature.UNWRAP_SINGLE_VALUE_ARRAYS not respected [/-][+]`DeserializationFeature.UNWRAP_SINGLE_VALUE_ARRAYS` not respected [/+]Add release notes, do minor post-cleanup for #21