public ObjectMapper customObjectMapper() { ObjectMapperobjectMapper=newObjectMapper(); //Customize as much as you want objectMapper.configure(DeserializationFeature.ACCEPT_EMPTY_STRING_AS_NULL_OBJECT, true); return objectMapper; }
@Bean public Logger.Level logger() { return Logger.Level.FULL; } }