From 84389ea1838a775d5f89d4afaee700f5ca74c779 Mon Sep 17 00:00:00 2001 From: Tatu Saloranta Date: Fri, 4 Oct 2019 20:49:45 -0700 Subject: [PATCH] BAckport #2487 in 2.10.1 (although officially will only be in 2.11) --- .../databind/deser/BeanDeserializerBuilder.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/main/java/com/fasterxml/jackson/databind/deser/BeanDeserializerBuilder.java b/src/main/java/com/fasterxml/jackson/databind/deser/BeanDeserializerBuilder.java index c105307ebf..a0879ed063 100644 --- a/src/main/java/com/fasterxml/jackson/databind/deser/BeanDeserializerBuilder.java +++ b/src/main/java/com/fasterxml/jackson/databind/deser/BeanDeserializerBuilder.java @@ -449,6 +449,16 @@ public JsonDeserializer buildBuilderBased(JavaType valueType, String expBuild propertyMap = propertyMap.withProperty(prop); } + return createBuilderBasedDeserializer(valueType, propertyMap, anyViews); + } + + /** + * Extension point for overriding the actual creation of the builder deserializer. + * + * @since 2.10.1 (officially in 2.10.0) + */ + protected JsonDeserializer createBuilderBasedDeserializer(JavaType valueType, + BeanPropertyMap propertyMap, boolean anyViews) { return new BuilderBasedDeserializer(this, _beanDesc, valueType, propertyMap, _backRefProperties, _ignorableProps, _ignoreAllUnknown, anyViews);