python-json-patch icon indicating copy to clipboard operation
python-json-patch copied to clipboard

Applying JSON Patches in Python

Results 51 python-json-patch issues
Sort by recently updated
recently updated
newest added

- [x] Understand the issue with slashes in dictionary keys - [x] Research JSON Pointer specification to confirm current behavior is correct - [ ] Create a utility function to...

- [x] Analyze the issue with optimizing list insertion/deletion diffs - [x] Create tests to reproduce and understand the problem - [ ] Enhance the DiffBuilder.execute() method to optimize list...

- [ ] Confirm the issue by running test that reproduces the error - [ ] Analyze the patch generation logic in DiffBuilder to understand why the order of operations...

Thanks for assigning this issue to me. I'm starting to work on it and will keep this PR's description up to date as I form a plan and make progress....

The `jsondiff` and `jsonpatch` CLI tools do not work on Windows since they are installed as pre-written Linux scripts (i.e. extension-less and with a shebang) rather than being generated as...

Fixes #151 ## Context `DiffBuilder` currently iterates **sets** of dict keys, and set iteration order is inherently unordered (and can vary across runs due to hash randomization). This yields **non-deterministic...

Fixes #160 ## Context `DiffBuilder` currently processes operations sequentially and greedily generates **Move** operations when it detects that a current **Remove** (or **Add**) corresponds to a matching **Add** (or **Remove**)...

Fixes #138 Fixes #124 ## TL;DR When `DiffBuilder` optimized a **Remove** + **Add** pair into a **Move**, some operations targeting **nested positions within the same array** were not reindexed correctly....

The upstream library I'm using ([`mutative`](https://github.com/unadlib/mutative)) doesn't support `copy` or `move`. Can I have an option here to disable generating these ops?