Blame view

src/main/java/com/objecteye/config/ObjectMapperConfigure.java 343 Bytes
009374ed   Hugiee.Liu   fea: create
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  package com.objecteye.config;
  
  import com.fasterxml.jackson.databind.ObjectMapper;
  import lombok.Data;
  import org.springframework.context.annotation.Bean;
  
  /**
   * @author: liuhaoyu
   * @date: 2023/6/28
   */
  @Data
  public class ObjectMapperConfigure {
  
      @Bean
      public ObjectMapper objectMapper() {
          return new ObjectMapper();
      }
  }