@Override
        public URI deserialize(final JsonParser jp, final DeserializationContext ctxt) {
            return FunctionUtils.doUnchecked(() -> {
                val value = SpringExpressionLanguageValueResolver.getInstance().resolve(jp.getText().trim());
                return StringUtils.isNotBlank(value) ? new URI(value) : null;
            });
        }
Initialize.

@param mapper the mapper
@return the object mapper
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/serialization/JacksonObjectMapperFactory.java