Open
Description
Is your feature request related to a problem? Please describe.
There are gson and jackson and org.json extensions.
Let’s add one for JSON-B, so there is no need to ship a specific library.
This is useful for Java/Jakarta EE compatible servers where you do not know the implementation beforehand, but you won't need to ship one with your app either.
Describe the solution you'd like
Similar to this one:
https://github.com/bmarwell/shiro-jwt-showcase/blob/3e4ec3691da3a0a7a653b4b915c3532c8fb742ed/finish/src/main/java/io/github/bmarwell/shiro/jwt/json/JsonbJwtDeserializer.java
(yes, PR ahead!)
Describe alternatives you've considered
- Creating above class every single time for my apps
- Create a wrapper for Johnzon
Additional context
- Spec: https://github.com/eclipse-ee4j/jsonb-api
- Implementation for Johnzon: https://johnzon.apache.org/johnzon-jsonb/index.html
- Implementation Eclipse Yasson: https://github.com/eclipse-ee4j/yasson
Metadata
Metadata
Assignees
Labels
No labels
Activity
[jwtk#719] JSON-B extension.
[jwtk#719] JSON-B extension.
[jwtk#719] README.md updates.
[jwtk#719] profile, assert=>requireNonNull, @SInCE
[jwtk#719] profile, assert=>requireNonNull, @SInCE
[jwtk#719] realign jdk8 profile.