GH-1163 Ignore FAIL_ON_UNKNOWN_PROPERTIES in Json conversion
The regression is due to tye fact that we no longer using boot provided ObjectMapper and instead rely on our own instance Resolves #1163
This commit is contained in:
@@ -218,6 +218,7 @@ public class ContextFunctionCatalogAutoConfiguration {
|
|||||||
mapper.registerModule(new JavaTimeModule());
|
mapper.registerModule(new JavaTimeModule());
|
||||||
mapper.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false);
|
mapper.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false);
|
||||||
mapper.configure(DeserializationFeature.FAIL_ON_TRAILING_TOKENS, true);
|
mapper.configure(DeserializationFeature.FAIL_ON_TRAILING_TOKENS, true);
|
||||||
|
mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
|
||||||
return new JacksonMapper(mapper);
|
return new JacksonMapper(mapper);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user