Skip to content

Add JSON-B extension #719

Open
Open
@bmarwell

Description

@bmarwell

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions