Duplicate Boolean fields in JSON
The annotation accepts a parameter. And it should be placed on the field, getter, and setter to prevent the duplicate
@JsonProperty("isCustom")
You can set custom name in json property like this
@JsonProperty(name="isCustom")
private boolean isCustom;
Please refer docs for more info