smallrye / smallrye-jwt

Apache License 2.0
75 stars 49 forks source link

Add JWT build `claimsJson` method which accepts String #813

Closed sberyozkin closed 3 months ago

sberyozkin commented 3 months ago

Sometimes it can be handy to do Jwt.claims("{somejson}") when the JSON string is available in the tests, etc. But right now only JsonObject, Map, and the pointer to the JSON file are accepted