| Total Complexity | 1 |
| Total Lines | 9 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | package com.hltech.judged.server.config; |
||
| 9 | @Configuration |
||
| 10 | public class BeanFactory { |
||
| 11 | |||
| 12 | @Bean |
||
| 13 | ObjectMapper objectMapper(Jackson2ObjectMapperBuilder mapperBuilder) { |
||
| 14 | ObjectMapper objectMapper = mapperBuilder.build(); |
||
| 15 | |||
| 16 | objectMapper.configure(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS, false); |
||
| 17 | return objectMapper; |
||
| 18 | } |
||
| 20 |