Add `@JsonCreator.enabled`
diff --git a/release-notes/VERSION b/release-notes/VERSION
index 2095385..5018daa 100644
--- a/release-notes/VERSION
+++ b/release-notes/VERSION
@@ -18,6 +18,7 @@
#49: Add `@JsonTypeInfo.skipWritingDefault`
#50: Add `ObjectIdGenerator.maySerializeAsObject()`,
`ObjectIdGenerator.ObjectIdGenerator.maySerializeAsObject()` to support JSOG
+- Added `@JsonCreator.enabled` to allow suppression of existing annotation via mix-ins.
- Added `@JsonInclude.content` to allow specifying inclusion criteria
for `java.util.Map` entries separate from inclusion of `Map` values
themselves
diff --git a/src/main/java/com/fasterxml/jackson/annotation/JsonCreator.java b/src/main/java/com/fasterxml/jackson/annotation/JsonCreator.java
index 396ce99..968923a 100644
--- a/src/main/java/com/fasterxml/jackson/annotation/JsonCreator.java
+++ b/src/main/java/com/fasterxml/jackson/annotation/JsonCreator.java
@@ -51,7 +51,16 @@
* @since 2.5
*/
public Mode mode() default Mode.DEFAULT;
-
+
+ /**
+ * Property that may be used to disable annotation: this is mostly useful with
+ * annotation mix-ins, where one can suppress existing annotation from class
+ * in case it causes problems, or if different creator should be used.
+ *
+ * @since 2.5
+ */
+ public boolean enabled() default true;
+
/**
* @since 2.5
*/