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:
Oleg Zhurakousky
2024-07-17 17:19:58 +02:00
parent da91630320
commit 766cf9e9d8

View File

@@ -218,6 +218,7 @@ public class ContextFunctionCatalogAutoConfiguration {
mapper.registerModule(new JavaTimeModule());
mapper.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false);
mapper.configure(DeserializationFeature.FAIL_ON_TRAILING_TOKENS, true);
mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
return new JacksonMapper(mapper);
}
}