Skip to content

Commit 6e7b1af

Browse files
committed
GH-1239 Disable FAIL_ON_TRAILING_TOKENS in ObjectMapper configuration
Resolves #1239
1 parent 08f5b8e commit 6e7b1af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-cloud-function-context/src/main/java/org/springframework/cloud/function/context/config/ContextFunctionCatalogAutoConfiguration.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ private JsonMapper jackson(ApplicationContext context) {
266266
}
267267
}
268268
mapper.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false);
269-
mapper.configure(DeserializationFeature.FAIL_ON_TRAILING_TOKENS, true);
269+
// mapper.configure(DeserializationFeature.FAIL_ON_TRAILING_TOKENS, true);
270270
mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
271271
if (logger.isDebugEnabled()) {
272272
logger.debug("ObjectMapper configuration: " + getConfigDetails(mapper));

0 commit comments

Comments
 (0)