diff --git a/src/main/java/com/fasterxml/jackson/annotation/JsonCreator.java b/src/main/java/com/fasterxml/jackson/annotation/JsonCreator.java index 5ce9e044..bf8ce96f 100644 --- a/src/main/java/com/fasterxml/jackson/annotation/JsonCreator.java +++ b/src/main/java/com/fasterxml/jackson/annotation/JsonCreator.java @@ -93,6 +93,13 @@ public enum Mode { */ PROPERTIES, + /** + * Mode that indicates that the creator is to be used **either** of the two modes: + * delegating or property-based. This is useful for cases where a single-argument + * creator can be used for both delegating and property-based binding. + */ + DELEGATING_AND_PROPERTIES, + /** * Pseudo-mode that indicates that creator is not to be used. This can be used as a result * value for explicit disabling, usually either by custom annotation introspector,