This might be a duplicate. But I cannot find a solution to my Problem.
I have a class
public class MyResponse implements Serializable { private
You can change primitive boolean to java.lang.Boolean (+ use @JsonPropery)
@JsonPropery
@JsonProperty("isA") private Boolean isA = false; public Boolean getA() { return this.isA; } public void setA(Boolean a) { this.isA = a; }
Worked excellent for me.