objectmapper ignore null value how to raise an error spring 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;
}