/** * Removes the value at the reference location in the specified {@code target} * * @param target the target referenced by this {@code JsonPointer} * @return the transformed {@code target} after the value is removed. * @throws NullPointerException if {@code target} is {@code null} * @throws JsonException if the referenced value does not exist, * or if the reference is the target. */ @Override public JsonStructure remove(JsonStructure target) { return execute((r,v)->r.remove(), target, null); }
/** * Removes the value at the reference location in the specified {@code target} * * @param target the target referenced by this {@code JsonPointer} * @return the transformed {@code target} after the value is removed. * @throws NullPointerException if {@code target} is {@code null} * @throws JsonException if the referenced value does not exist, * or if the reference is the target. */ @Override public JsonStructure remove(JsonStructure target) { return execute((r,v)->r.remove(), target, null); }
/** * Removes the value at the reference location in the specified {@code target} * * @param target the target referenced by this {@code JsonPointer} * @return the transformed {@code target} after the value is removed. * @throws NullPointerException if {@code target} is {@code null} * @throws JsonException if the referenced value does not exist, * or if the reference is the target. */ @Override public JsonStructure remove(JsonStructure target) { return execute((r,v)->r.remove(), target, null); }
/** * Removes the value at the reference location in the specified {@code target} * * @param target the target referenced by this {@code JsonPointer} * @return the transformed {@code target} after the value is removed. * @throws NullPointerException if {@code target} is {@code null} * @throws JsonException if the referenced value does not exist, * or if the reference is the target. */ @Override public JsonStructure remove(JsonStructure target) { return execute((r,v)->r.remove(), target, null); }
/** * Removes the value at the reference location in the specified {@code target} * * @param target the target referenced by this {@code JsonPointer} * @return the transformed {@code target} after the value is removed. * @throws NullPointerException if {@code target} is {@code null} * @throws JsonException if the referenced value does not exist, * or if the reference is the target. */ @Override public JsonStructure remove(JsonStructure target) { return execute((r,v)->r.remove(), target, null); }
/** * Removes the value at the reference location in the specified {@code target} * * @param target the target referenced by this {@code JsonPointer} * @return the transformed {@code target} after the value is removed. * @throws NullPointerException if {@code target} is {@code null} * @throws JsonException if the referenced value does not exist, * or if the reference is the target. */ @Override public JsonStructure remove(JsonStructure target) { return execute((r,v)->r.remove(), target, null); }