Skip to content

Commit

Permalink
BAckport #2487 in 2.10.1 (although officially will only be in 2.11)
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Oct 5, 2019
1 parent 3137b88 commit 84389ea
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 84389ea

Please sign in to comment.