Skip to content
Snippets Groups Projects
Commit 82080c83 authored by Daniel Gerhardt's avatar Daniel Gerhardt Committed by Daniel Gerhardt
Browse files

Remove redundant Jackson setting

parent da50c04f
Branches
Tags
No related merge requests found
......@@ -165,7 +165,6 @@ public class AppConfig extends WebMvcConfigurerAdapter {
@Bean
public MappingJackson2HttpMessageConverter jsonMessageConverter() {
Jackson2ObjectMapperBuilder builder = new Jackson2ObjectMapperBuilder();
builder.serializationInclusion(JsonInclude.Include.NON_NULL);
builder.serializationInclusion(JsonInclude.Include.NON_EMPTY);
builder.defaultViewInclusion(false);
builder.indentOutput(true).simpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ");
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment