summaryrefslogtreecommitdiff
path: root/jsonpatch.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix some pylint warnings for Python 2.xAlexander Shorin2013-10-281-3/+3
|
* Remove useless iterationsAlexander Shorin2013-10-281-9/+18
|
* Raise pylint score from 6.87 to 9.10Alexander Shorin2013-10-281-51/+62
|
* bump version to 1.3v1.3Stefan Kögl2013-10-131-1/+1
|
* bump version to 1.2v1.2Stefan Kögl2013-10-091-1/+1
|
* handle duplicate JSON keys only when possibleStefan Kögl2013-10-091-1/+22
|
* exception if patch has multiple "op"sStefan Kögl2013-10-091-1/+20
|
* refactor tpye checkStefan Kögl2013-07-121-4/+5
|
* refactor type checkStefan Kögl2013-07-121-4/+5
|
* fix pointer containment comparisonStefan Kögl2013-07-121-1/+1
|
* catch correct exceptionStefan Kögl2013-07-121-1/+1
|
* fix JsonPatch.__eq__(other) for Python 3Stefan Kögl2013-07-121-1/+1
|
* simplify equality comparisonStefan Kögl2013-07-121-4/+2
|
* refactor equality comparisonStefan Kögl2013-07-121-4/+11
|
* Merge branch 'master' of github.com:stefankoegl/python-json-patchStefan Kögl2013-07-121-1/+1
|\
| * remove unused parameter to JsonPointer.to_last()Stefan Kögl2013-07-111-1/+1
| |
* | bump version to 1.1v1.1Stefan Kögl2013-06-271-1/+1
|/
* Fixed replacing whole documentWilliam Kral2013-06-231-0/+3
| | | | | | | | - json pointer to_last operation returns None for the part in the case that it is a whole document pointer - json patch now checks to see if the part is None and simply returns the value to replace the document - Added a test to verify the fix
* use unicode literals and update testsStefan Kögl2013-04-131-4/+6
|
* bump version to 1.0v1.0Stefan Kögl2013-04-031-1/+1
|
* mention RFC 6902Stefan Kögl2013-04-031-3/+1
|
* allow replacing the root of the documentStefan Kögl2013-04-031-5/+19
| | | | | This fixes the test from https://github.com/json-patch/json-patch-tests/commit/4db5098183c0e1d706b4525
* bump version to 0.12v0.12Stefan Kögl2013-01-031-1/+1
|
* "add" op should overwrite existing field in objStefan Kögl2012-12-211-3/+0
|
* remove duplicate raise statementStefan Kögl2012-12-171-1/+0
|
* bump version to 0.11v0.11Stefan Kögl2012-12-141-2/+2
|
* remove Python 2.5 compatabilityStefan Kögl2012-12-141-18/+5
|
* fix exception handling for Python 2.5Stefan Kögl2012-12-141-2/+7
|
* various smaller bugfixesStefan Kögl2012-12-141-3/+9
|
* fix incorrect JsonPatch.__hash__(), fixes #11Stefan Kögl2012-12-141-1/+1
|
* use from/path instead of path/to for move, copyStefan Kögl2012-12-141-8/+8
|
* bump version to 0.9v0.9Stefan Kögl2012-11-261-1/+1
|
* bump version to 0.8v0.8Stefan Kögl2012-11-151-3/+4
|
* use jsonpointer, update to current spec draftStefan Kögl2012-11-151-49/+26
|
* bump version to 0.7v0.7Stefan Kögl2012-10-051-1/+1
|
* Fix compatibility with Python 3.xAlexander Shorin2012-10-051-2/+7
|
* bump version to 0.6, support for draft 5v0.6Stefan Kögl2012-09-281-2/+2
| | | | http://tools.ietf.org/html/draft-ietf-appsawg-json-patch-05
* implement __has__, __eq__ for JsonPatch, PatchOperationStefan Kögl2012-09-281-0/+23
|
* use new (more verbose) syntax from spec draft 5Stefan Kögl2012-09-281-27/+36
|
* bump version to 0.5v0.5Stefan Kögl2012-09-171-1/+1
| | | | | | Changes * add "copy" operation * negative "test" operation raises JsonPatchTestFailed exception
* update "test" behaviour according to latest specStefan Kögl2012-09-171-4/+15
|
* "copy" operation should copy by value, not by reference, fixes #8Stefan Kögl2012-09-141-1/+1
|
* add "copy" operation, fixes #7Stefan Kögl2012-09-111-1/+11
|
* ref current spec, add its new test caseStefan Kögl2012-09-051-1/+1
| | | | | | | | the updated spec [1] didn't change anything that would make a new version of python-json-patch necessary. This commit only updates the reference to the current version, and adds a new example [1] http://tools.ietf.org/html/draft-ietf-appsawg-json-patch-03
* bump version to 0.4v0.4Stefan Kögl2012-07-181-1/+1
| | | | | Changes: * https://github.com/stefankoegl/python-json-patch/issues/4
* Fix issue #4.Alexander Shorin2012-07-151-12/+15
| | | | Patch creation from diff of two JSON documents was able to produce invalid instance if there was need to add more than 1 array element. In this situation, elements been tryed be added since higher index that is far outside of target. That's correct order if we removing array elements (from higher index to lower one), but we should add elements in reversed order (from lower index to higher).
* bump version to 0.3 (0.2 was uploaded previously)Stefan Kögl2012-06-221-1/+1
|
* fix doc typosStefan Kögl2012-06-221-1/+1
|
* bump version to 0.2Stefan Kögl2012-06-221-1/+1
|
* Make docs be more sphnix friendly.Alexander Shorin2012-06-211-5/+23
|