Skip to content

Refactor JSON Patch OpRemove and OpMove - #137

Open
jg-rp wants to merge 1 commit into
mainfrom
op-remove
Open

Refactor JSON Patch OpRemove and OpMove#137
jg-rp wants to merge 1 commit into
mainfrom
op-remove

Conversation

@jg-rp

@jg-rp jg-rp commented Jul 28, 2026

Copy link
Copy Markdown
Owner

This PR refactors OpRemove and OpMove to use a common _remove() function for consistency and better code reuse, just like we did with _add() in #136.

OpReplace does not use _remove() due to its distinct behavior when replacing a JSON root value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant