diff --git a/openbis/source/java/ch/ethz/sis/openbis/generic/server/sharedapi/v3/json/GenericObjectMapper.java b/openbis/source/java/ch/ethz/sis/openbis/generic/server/sharedapi/v3/json/GenericObjectMapper.java index dc619eeb8be8c7c04a9c0e6f047866c025ff2e5d..d536f2e0e4fdaa7712174f67b3845b0ab87d9521 100644 --- a/openbis/source/java/ch/ethz/sis/openbis/generic/server/sharedapi/v3/json/GenericObjectMapper.java +++ b/openbis/source/java/ch/ethz/sis/openbis/generic/server/sharedapi/v3/json/GenericObjectMapper.java @@ -16,6 +16,7 @@ package ch.ethz.sis.openbis.generic.server.sharedapi.v3.json; +import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.deser.DefaultDeserializationContext; @@ -42,6 +43,7 @@ public class GenericObjectMapper extends ObjectMapper setSubtypeResolver(new JsonReflectionsSubTypeResolver( new JsonBaseTypeToSubTypesMapping())); setSerializerFactory(new JsonSerializerFactory()); + configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false); } }