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

Add JSON-B extension #719

Open
bmarwell opened this issue Apr 15, 2022 · 0 comments · May be fixed by #720
Open

Add JSON-B extension #719

bmarwell opened this issue Apr 15, 2022 · 0 comments · May be fixed by #720

Comments

@bmarwell
Copy link

bmarwell commented Apr 15, 2022

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

bmarwell added a commit to bmarwell/jjwt that referenced this issue Apr 15, 2022
bmarwell added a commit to bmarwell/jjwt that referenced this issue Apr 15, 2022
@bmarwell bmarwell linked a pull request Apr 15, 2022 that will close this issue
4 tasks
bmarwell added a commit to bmarwell/jjwt that referenced this issue Apr 15, 2022
bmarwell added a commit to bmarwell/jjwt that referenced this issue Apr 19, 2022
bmarwell added a commit to bmarwell/jjwt that referenced this issue Apr 20, 2022
bmarwell added a commit to bmarwell/jjwt that referenced this issue Apr 20, 2022
@lhazlewood lhazlewood added this to the 0.12.0 milestone Apr 26, 2022
@lhazlewood lhazlewood removed this from the 0.12.0 milestone Aug 11, 2023
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

Successfully merging a pull request may close this issue.

2 participants