remove
Removes the element identified by path from this array.
Parses path as a JSON Pointer string and delegates to remove.
Parameters
The JSON Pointer path string identifying the element to remove.
Throws
if the path is invalid, the pointer is the root, the segment is -, the segment is not a valid non-negative integer, or navigation through an intermediate node fails.
if the index is in bounds for the integer check but out of bounds for the array, at either the leaf or an intermediate position.
Removes the element identified by pointer from this array.
Navigates intermediate nodes as needed. At the leaf, the element at the identified index is removed from the array. The pointer must not be the root pointer. The - segment is not valid for removal.
Parameters
The JsonPointer identifying the element to remove.
Throws
if the pointer is the root, the segment is -, the segment is not a valid non-negative integer, or navigation through an intermediate node fails.
if the index is in bounds for the integer check but out of bounds for the array, at either the leaf or an intermediate position.