package com.galaxis.manatee.configuration;

import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author zcj
 * @version 0.1
 * @date 2020/2/6 9:52 上午
 */
@Configuration
public class JsonConfiguration {

    /**
     * 对象映射类
     * @return  对象实例
     */
    @Bean
    public ObjectMapper objectMapper(){
        return new ObjectMapper();
    }
}
