spring boot 接口返回,由bean转json相关配置

1.忽略 null 值   2.将Date类型转为  yyyy-MM-dd HH:mm:ss  java @Bean @ConditionalOnMissingBean(ObjectMapper.class) public ObjectMapper jacksonObjectMapper(Jackson2ObjectMapperBuilder builder)
相关文章
相关标签/搜索