Skip to content
Discussion options

You must be logged in to vote

@edeandrea Yes, in the sense that 2.x and 3.x live in different namespaces (Java packages: com.fasterxml.jackson for 2.x vs tools.jackson for 3.x). And both use 2.x annotations.

But I guess what exactly do you mean supporting both.

For value classes that just use annotations from jackson-annotations (2.20) this is easy; both 2.x and 3.x support same set. But otherwise code needs to use one or the other.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@edeandrea
Comment options

Answer selected by edeandrea
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants