Closed RafaRuiz closed 1 year ago
Can you do a test scenario that just uses Jackson APIs? Jackson team are not here to debug Spring Boot.
The root of the problem is summarized in the comment below. https://github.com/FasterXML/jackson-module-kotlin/issues/151#issuecomment-1453804338
Specify field
or getter
when annotating.
This issue is closed as a duplicate.
Describe the bug I'm using an
open class
to directly construct a model or give a morphism of another. When adding the@JsonProperty
annotation to one variable, it's being honored when I directly construct thisopen class
but not when I'm extending it as the morphism itselfVersion information 2.14.1
To Reproduce With Spring Boot:
Result
Expected behavior The second result should contain the key
test_name
, nottestName
: