GH-1148 Remove manual setting of ObjectMapper feature
Remove manual setting of ObjectMapper feature in favor of standard Spring Boot via property setting Resolves #1148
This commit is contained in:
@@ -24,7 +24,6 @@ import java.util.function.Function;
|
||||
import java.util.function.Supplier;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
import com.fasterxml.jackson.databind.DeserializationFeature;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import com.fasterxml.jackson.databind.SerializationFeature;
|
||||
import com.google.gson.Gson;
|
||||
@@ -222,7 +221,6 @@ public class ContextFunctionCatalogAutoConfiguration {
|
||||
mapper = new ObjectMapper();
|
||||
}
|
||||
mapper.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false);
|
||||
mapper.configure(DeserializationFeature.FAIL_ON_TRAILING_TOKENS, true);
|
||||
return new JacksonMapper(mapper);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user