Skip to content

How to simply provide a target class in a custom deserializer? #242

Answered by cowtowncoder
cwhite102 asked this question in Q&A
Discussion options

You must be logged in to vote

Polymorphic type detection is not done by actual JsonDeserializer but TypeDeserializer, configuration of which is by annotations (or "Default Typing"). There is no simple way to override this functionality.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@cwhite102
Comment options

@cowtowncoder
Comment options

Answer selected by cwhite102
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants