Having to specify a default empty constructor in version 2.18 #254
-
I want to start by saying this is most likely lack of understanding on my side. In version 2.17 I was able to do map json to an object like this even if the List was actually empty.
When I upgraded to version 2.18 I noticed that I have to initialise the list as an empty list to prevent some errors when the json comes empty.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Could you try jackson-databind 2.18.2-SNAPSHOT? See FasterXML/jackson-databind#4777 (comment) -- seems possibly similar. |
Beta Was this translation helpful? Give feedback.
Could you try jackson-databind 2.18.2-SNAPSHOT? See FasterXML/jackson-databind#4777 (comment) -- seems possibly similar.