Closed osigida closed 1 month ago
Correct: multiple levels with differing @JsonTypeInfo
is not supported by jackson-databind.
Since feature itself is not provided by Kotlin module so issue would need to be in jackson-databind
(there likely already is an open issue).
There are no current plans to support such feature, fwtw.
Hi @cowtowncoder! Thanks a lot for the reply! Could you please share the issue? I tried to find anything related to the problem but found very little information.
I think #2957 is what I had in mind -- not sure how close a match it is.
I have verified that this is not a kotlin-module
problem.
Removing kotlin-module
does not change the fact that B2
is the target.
This issue is closed as it has already been answered by @cowtowncoder .
Search before asking
Describe the bug
Multi layer hierarchy could not be deserialized and fails with an error like the following
To Reproduce
Expected behavior
deserialisation works fine for multi-layer hierarchy
Versions
Kotlin: 1.9 Jackson-module-kotlin: 2.17.2 Jackson-databind: 2.17.2
Additional context
No response