@Override
    public JsonWebKeySet deserialize(final JsonParser jp, final DeserializationContext ctx) {
        return FunctionUtils.doUnchecked(() -> {
            val mapper = (ObjectMapper) jp.getCodec();
            val node = mapper.readTree(jp);
            val json = mapper.writeValueAsString(node);
            return new JsonWebKeySet(json);
        });
    }
This is {@link OidcJsonWebKeyStoreJacksonDeserializer}.

@author Misagh Moayyed
@since 6.1.0
support/cas-server-support-oidc-core-api/src/main/java/org/apereo/cas/oidc/jwks/OidcJsonWebKeyStoreJacksonDeserializer.java