public void add(JsonNode value) { if (value == null) { // let's not store 'raw' nulls but nodes value = nullNode(); } _add(value); }
public void insertNull(int index) { _insert(index, nullNode()); }
public void addNull() { _add(nullNode()); }
/** * Method for inserting specified child node as an element * of this Array. If index is 0 or less, it will be inserted as * the first element; if >= size(), appended at the end, and otherwise * inserted before existing element in specified index. * No exceptions are thrown for any index. */ public void insert(int index, JsonNode value) { if (value == null) { value = nullNode(); } _insert(index, value); }
/** * Method that will set specified field, replacing old value, * if any. * * @param value to set field to; if null, will be converted * to a {@link NullNode} first (to remove field entry, call * {@link #remove} instead) * * @return Old value of the field, if any; null if there was no * old value. */ public JsonNode set(int index, JsonNode value) { if (value == null) { // let's not store 'raw' nulls but nodes value = nullNode(); } return _set(index, value); }
public void add(JsonNode value) { if (value == null) { // let's not store 'raw' nulls but nodes value = nullNode(); } _add(value); }
/** * Method for inserting specified child node as an element * of this Array. If index is 0 or less, it will be inserted as * the first element; if >= size(), appended at the end, and otherwise * inserted before existing element in specified index. * No exceptions are thrown for any index. */ public void insert(int index, JsonNode value) { if (value == null) { value = nullNode(); } _insert(index, value); }
public void addNull() { _add(nullNode()); }
public void insertNull(int index) { _insert(index, nullNode()); }
/** * Method that will set specified field, replacing old value, * if any. * * @param value to set field to; if null, will be converted * to a {@link NullNode} first (to remove field entry, call * {@link #remove} instead) * * @return Old value of the field, if any; null if there was no * old value. */ public JsonNode set(int index, JsonNode value) { if (value == null) { // let's not store 'raw' nulls but nodes value = nullNode(); } return _set(index, value); }
public void add(JsonNode value) { if (value == null) { // let's not store 'raw' nulls but nodes value = nullNode(); } _add(value); }
public void add(JsonNode value) { if (value == null) { // let's not store 'raw' nulls but nodes value = nullNode(); } _add(value); }
public void addNull() { _add(nullNode()); }
public void add(JsonNode value) { if (value == null) { // let's not store 'raw' nulls but nodes value = nullNode(); } _add(value); }
public void insertNull(int index) { _insert(index, nullNode()); }
public void insertNull(int index) { _insert(index, nullNode()); }
/** * Method for inserting specified child node as an element * of this Array. If index is 0 or less, it will be inserted as * the first element; if >= size(), appended at the end, and otherwise * inserted before existing element in specified index. * No exceptions are thrown for any index. */ public void insert(int index, JsonNode value) { if (value == null) { value = nullNode(); } _insert(index, value); }
public void addNull() { _add(nullNode()); }
public void insertNull(int index) { _insert(index, nullNode()); }
public void addNull() { _add(nullNode()); }