Removes a key at the given path, returning a new tree.
The original tree is not modified (immutable operation).
Example:
var cleaned = Json.remove (root, "$.temp");
| root |
root value (must be an object). |
| path |
JSON path expression (e.g. `$.key`). |
|
new tree with the key removed, or null if path invalid. |