Cannot deserialize field with underscore in it's name #332
-
|
Hi! Here's an example model class generated by OpenApi: And here's an example json I try to deserialize: Any ideas what can I do in this situation? Obviously I can't make any changes in the API model. Is it a bug that Jackson 3 can no longer handle such situation? Thanks for helping! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
Please provide a description of what goes wrong - for example, the exception with stacktrace. |
Beta Was this translation helpful? Give feedback.
-
|
Yes, There is a way to configure things to be more lenient, let me see if I can find the issue. And no exception part is due to |
Beta Was this translation helpful? Give feedback.
Found it: FasterXML/jackson-databind#2882 -- this is why getter/setter no longer recognized without annotations.
(and maybe FasterXML/jackson-databind#5355 too for work-around)