diff --git a/src/main/java/com/cflint/config/CFLintPluginInfo.java b/src/main/java/com/cflint/config/CFLintPluginInfo.java index 1a2dd37e0..f2d7ab568 100644 --- a/src/main/java/com/cflint/config/CFLintPluginInfo.java +++ b/src/main/java/com/cflint/config/CFLintPluginInfo.java @@ -13,6 +13,7 @@ import com.fasterxml.jackson.annotation.JsonIdentityInfo; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.ObjectIdGenerators; @XmlRootElement(name = "CFLint-Plugin") @@ -234,7 +235,7 @@ public Object getValue() { return value; } - @XmlAttribute(name = "value") + @JsonProperty(value="value") public void setValue(final Object value) { this.value = value; }