auth0 / java-jwt

Java implementation of JSON Web Token (JWT)
MIT License
5.84k stars 921 forks source link

Allow configuration of Jackson ObjectMapper #645

Closed hameno closed 1 year ago

hameno commented 1 year ago

Describe the problem you'd like to have solved

We are using Kotlin in our services. I'm trying to decode an array claim of a JSON object into a Kotlin data class and it fails because the ObjectMapper instance does not load the KotlinModule which would allow this deserialization.

Describe the ideal solution

Allow adding modules to the JacksonMapper or support customizing the mapper

Alternatives and current work-arounds

Unknown

Additional information, if any

jimmyjames commented 1 year ago

👋 hi @hameno, can you provide some more details, including:

We don't have plans to directly expose any 3rd party dependencies in the public API, but additional information will be helpful to understanding the use-case and how we may be able to address it

jimmyjames commented 1 year ago

Closing due to lack of activity, if more info is available please open a new issue, thanks!