Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make JacksonDeserializer constructor public #914

Open
lhazlewood opened this issue Jan 29, 2024 · 0 comments
Open

Make JacksonDeserializer constructor public #914

lhazlewood opened this issue Jan 29, 2024 · 0 comments
Milestone

Comments

@lhazlewood
Copy link
Contributor

lhazlewood commented Jan 29, 2024

The JacksonDeserializer(ObjectMapper objectMapper, Map<String, Class<?>> claimTypeMap) constructor was added as a private constructor in 0.12.4 due to semver constraints.

This issue tracks the work to make that constructor public so devs can still use mapped-type deserialization with their own ObjectMapper instance if desired. This ensures that JJWT does not need to be (regularly) updated any time a particular Jackson deserialization feature/behavior might be preferred - developers can just configure their own ObjectMapper with these features/behaviors.

Note that this needs to be done on 0.13.0 or later due to semver.

@lhazlewood lhazlewood added this to the 0.13.0 milestone Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant