Skip to content

Commit 34da104

Browse files
committed
Add Joda module to ObjectMapper
1 parent 1f85006 commit 34da104

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ private JsonMapper jackson(ApplicationContext context) {
274274
// jackson-module-kotlin not available
275275
}
276276
}
277+
builder.addModule(new JodaModule());
277278
builder = builder.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false);
278279
builder = builder.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
279280
builder = builder.configure(DeserializationFeature.FAIL_ON_NULL_FOR_PRIMITIVES, false);

0 commit comments

Comments
 (0)