All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jonnymatts.prometheus.http.configuration.ConfigurationObjectMapper Maven / Gradle / Ivy

The newest version!
package com.jonnymatts.prometheus.http.configuration;

import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.dataformat.yaml.YAMLFactory;
import com.fasterxml.jackson.datatype.jdk8.Jdk8Module;
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;

public class ConfigurationObjectMapper extends ObjectMapper {
    public ConfigurationObjectMapper() {
        super(new YAMLFactory());
        registerModule(new JavaTimeModule());
        registerModule(new Jdk8Module());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy