objectmapper ignore null value how to raise an error code example
Example: jackson ignore value if null
public class Object {
@JsonInclude(NON_NULL)
@JsonProperty("property")
private String property;
}
public class Object {
@JsonInclude(NON_NULL)
@JsonProperty("property")
private String property;
}