@Override
    public String convertToDatabaseColumn(final Map<String, ?> map) {
        return FunctionUtils.doUnchecked(() -> MAPPER.writeValueAsString(map));
    }
This is {@link MapToJsonAttributeConverter}.

@author Misagh Moayyed
@since 7.0.0
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/jpa/MapToJsonAttributeConverter.java