summaryrefslogtreecommitdiff
path: root/jsonpatch.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Move `make_path` logic to JsonPatch.from_diff class method. Some docstring ↵Alexander Shorin2012-06-211-47/+69
| | | | fixes.
* Add __bool__ (__nonzero__) and __iter__ methods to JsonPatch.Alexander Shorin2012-06-161-0/+35
|
* Let apply_patch to handle patch as JSON-encoded string.Alexander Shorin2012-06-161-2/+8
|
* Add arguments description to docstrings.Alexander Shorin2012-06-161-1/+24
|
* Revert to original apply_patch() behavior and make f3f3410 changes optional.Alexander Shorin2012-01-051-8/+11
|
* Add support of Python 2.4 and 2.5 with simplejson.Alexander Shorin2011-12-251-1/+5
|
* Fix compatibility with Python 3.xAlexander Shorin2011-12-251-1/+1
|
* Convert JsonPatch instance to JSON string in nicer way.Alexander Shorin2011-12-251-0/+8
|
* Add make_patch function to generate JsonPatch by comparing of two documents.Alexander Shorin2011-12-251-0/+48
|
* Add docstrings and fix code style in favour to pylint.Alexander Shorin2011-12-251-32/+39
|
* Rework tests.Alexander Shorin2011-12-251-70/+28
|
* Do not hide any problems.Alexander Shorin2011-12-251-16/+13
|
* Reduce patch applying cost.Alexander Shorin2011-12-251-4/+1
| | | | Let the developer to decide does he wants to modify same object or copy of it. In other way test operation produces huge overhead for nothing.
* Bump supported specification versionAlexander Shorin2011-12-251-1/+1
|
* Add support for test operationAlexander Shorin2011-12-251-1/+30
|
* Add support for move operationAlexander Shorin2011-12-251-0/+22
|
* Remove unused `location' variableByron Ruth2011-09-171-1/+0
|
* Add JsonPatchConflict for patch conflictsByron Ruth2011-09-161-7/+11
| | | | | | This is necessary in order to differentiate between general processing errors e.g. bad operation and conflicts between the patch and the state of the data the patch is being applied to.
* add shortcut jsonpatch.apply_patch(doc, patch)Stefan Kögl2011-06-201-0/+12
|
* initial commitStefan Kögl2011-06-181-0/+221