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

co.fingerprintsoft.notification.json.JsonAutoConfiguration Maven / Gradle / Ivy

There is a newer version: 2.5.0
Show newest version
package co.fingerprintsoft.notification.json;

import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConditionalOnClass(ObjectMapper.class)
public class JsonAutoConfiguration {

    @Bean
    @ConditionalOnMissingBean
    @ConditionalOnClass(ObjectMapper.class)
    public ObjectMapper objectMapper() {
        return new ObjectMapper();
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy