Initial commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package dev.mednikov.social.users.config;
|
||||
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
@Configuration
|
||||
public class ObjectMapperConfig {
|
||||
|
||||
@Bean
|
||||
public ObjectMapper objectMapper() {
|
||||
ObjectMapper objectMapper = new ObjectMapper();
|
||||
return objectMapper;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user