Код: Выделить всё
public class State {
private boolean isSet;
@JsonProperty("isSet")
public boolean isSet() {
return isSet;
}
@JsonProperty("isSet")
public void setSet(boolean isSet) {
this.isSet = isSet;
}
}
Код: Выделить всё
success : function(response) {
if(response.State.isSet){
alert('success called successfully)
}
}
Я думаю, что смогу удалить эту аннотацию, не вызывая никаких побочных эффектов.>
Подробнее здесь: https://stackoverflow.com/questions/125 ... t-used-for