JsonSerialize(Typing.DYNAMIC) in some cases does not redefine MapperFeature.USE_STATIC_TYPING #1515
Labels
has-failing-test
Indicates that there exists a test case (under `failing/`) to reproduce the issue
As unit test output shows, annotation overrides mapper feature only for:
annotatedValue
)And it's ignored for:
annotatedList
)dynamicValue
)dynamicList
)This is not expected behavior (for annotated list field, at least), since MapperFeature#USE_STATIC_TYPING says that:
Test bellow is written in Kotlin, sorry for that. Was tested with Jackson 2.8.6
The text was updated successfully, but these errors were encountered: