protected static String toJson(final Object value) throws Exception {
        return MAPPER.writeValueAsString(value);
    }
Main.

@param args the args
@throws Exception the exception
api/cas-server-core-api-configuration-model/src/main/java/org/apereo/cas/configuration/metadata/ConfigurationMetadataGenerator.java