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 }}
This repository has been archived by the owner on Jan 22, 2019. It is now read-only.
Not sure if this has been reported before. 'null' insideList<Optional> failed to deserialize to Optional.absent(). This problem exists in the latest 2.3.1 code.
As a side node,List<List<String>>works, so I assume it's not about generics or String not being able to deserialize null. It also works when Optional is inside the object with List<JacksonObject>.
Below test case failed due to inconsistency of List<Optional> deserialization.
Turns out this is due to FasterXML/jackson-databind#407 which was fixed for 2.4.0-SNAPSHOT, but not backported in 2.3. I went ahead and backported relevant fix, so this will work with 2.3.3.
Hi,
Not sure if this has been reported before. 'null' inside
List<Optional>
failed to deserialize toOptional.absent()
. This problem exists in the latest 2.3.1 code.As a side node,
List<List<String>>
works, so I assume it's not about generics or String not being able to deserialize null. It also works whenOptional
is inside the object withList<JacksonObject>
.Below test case failed due to inconsistency of
List<Optional>
deserialization.This following test case works.
The text was updated successfully, but these errors were encountered: