summaryrefslogtreecommitdiff
path: root/jsonpatch.py
Commit message (Collapse)AuthorAgeFilesLines
* remove unused importVu-Hoang Phan2021-04-061-2/+2
|
* fix invalid remove indexVu-Hoang Phan2021-04-061-0/+10
|
* FIX: TypeError when one forgot to put its operation in a list.Julien Palard2021-03-211-1/+14
|
* Bump version to 1.32v1.32Stefan Kögl2021-03-131-1/+1
|
* Merge branch 'master' of github.com:stefankoegl/python-json-patchStefan Kögl2021-03-131-6/+8
|\
| * closes #129Bock2021-03-111-6/+8
| |
* | Bump version to 1.31v1.31Stefan Kögl2021-03-041-1/+1
|/
* Fix version number v1.30v1.30Stefan Kögl2021-03-021-1/+1
|
* Update commentRyan Marvin2021-02-181-1/+1
|
* Add commentRyan Marvin2021-02-181-0/+4
|
* Fix make_patchRyan Marvin2021-02-011-3/+6
|
* Bump version to 1.28v1.28Stefan Kögl2020-12-011-1/+1
|
* feat: make operations class-basedArtyom Nikitin2020-11-231-195/+200
|
* Merge branch 'master' into feature/custom-pointerArtyom Nikitin2020-11-231-10/+34
|\ | | | | | | | | | | # Conflicts: # jsonpatch.py # tests.py
| * Merge pull request #116 from dave-shawley/validate-patch-docStefan Kögl2020-11-201-0/+7
| |\ | | | | | | Fix #110 - validate patch document during creation
| | * Explain the call to _get_operation in __init__.Dave Shawley2020-11-201-0/+4
| | |
| | * fix #110: Validate patch documents during creation.Dave Shawley2020-11-171-0/+3
| | |
| * | Merge pull request #108 from paperlessreceipts/custom-typesStefan Kögl2020-11-201-9/+22
| |\ \ | | |/ | |/| Make it possible for from_diff to support custom types (issue #107)
| | * Make DiffBuilder's dumps argument optionalChristian Lyder Jacobsen2020-03-161-1/+1
| | |
| | * Merge branch 'master' into custom-typesChristian Lyder Jacobsen2020-03-061-17/+17
| | |\
| | * | Subclassing can override json dumper and loaderChristian Lyder Jacobsen2020-03-061-7/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Additionally: * from_string gets a loads parameter * to_string gets a dumps_parameter * documentation added * added more tests
| | * | Make it possible for from_diff to support custom types (issue #107)Christian Lyder Jacobsen2020-01-311-4/+9
| | | |
* | | | chore: revert version bumpArtyom Nikitin2020-11-171-1/+1
| | | |
* | | | chore: bump versionArtyom Nikitin2020-11-161-1/+1
| | | |
* | | | doc: fix docstringsArtyom Nikitin2020-11-131-3/+6
| | | |
* | | | feat: add custom json pointer supportArtyom Nikitin2020-11-131-32/+44
|/ / /
* | | Merge pull request #112 from Alanscut/issue-111Stefan Kögl2020-06-221-1/+7
|\ \ \ | | | | | | | | fix #111: optimizing exception message
| * | | fix #111: optimizing exception messageAlanscut2020-05-231-1/+7
| | |/ | |/|
* | | fix #102: optimize error handlingAlanscut2020-06-091-0/+3
|/ /
* | Fixed some typos and wordingvavanade2020-02-271-17/+17
|/
* Merge pull request #106 from blakehilliard/only-type-diffStefan Kögl2020-01-291-4/+11
|\ | | | | Fix issue not recognizing that, in JSON, 1 != 1.0 != True
| * Added comment.Jonathan Hilliard2020-01-281-0/+7
| |
| * Changing previous type comparison to just comparing how json.dumps renders 2 ↵Jonathan Hilliard2020-01-281-1/+1
| | | | | | | | | | | | values. This avoids flagging mismatches between classes which happen to be different but which are JSONified as the same thing.
| * Flagging type-only changes with DiffBuilderJonathan Hilliard2020-01-281-4/+4
| |
* | Merge pull request #96 from gdraynz/replace-array-indexerrorStefan Kögl2020-01-281-1/+1
|\ \ | |/ |/| Ensure an item is within the upper array boundaries before replacing it
| * Ensure an item is within the upper array boundaries before replacing itGuillaume Desvé2019-05-161-1/+1
| |
* | bump versionIgor Tkach2019-07-221-1/+1
| |
* | Merge tag 'v1.23'Igor Tkach2019-07-221-1/+1
|\ \ | | | | | | | | | release v1.23
| * | Bump version to 1.23v1.23Stefan Kögl2018-04-021-1/+1
| | |
* | | Fix move for numeric dictionary keys (issue #97)Igor Tkach2019-06-281-1/+1
| |/ |/|
* | better exception when unable to fully resolve a jsonpointer on add or ↵Guillaume Pujol2018-07-171-3/+8
|/ | | | | replace operations When a "path" jsonpointer in a add or replace operation points to a non-resolvable inner element, raise a JsonPatchConflict with a clear error message rather than a TypeError with an obscure message
* Merge pull request #75 from stefankoegl/jsonptrStefan Kögl2018-04-021-3/+12
|\ | | | | Expect path/from attributes also as JsonPoiner instances (#60)
| * Expect path/from attributes also as JsonPoiner instances (#60)jsonptrStefan Kögl2017-12-031-3/+12
| |
* | Bump version to 1.22v1.22Stefan Kögl2018-04-021-1/+1
| |
* | Remove ununsed imports and variablesHugo2018-01-161-2/+0
| |
* | Bump version to 1.21v1.21Stefan Kögl2017-12-301-1/+1
| |
* | Remove extraneous 'value' field for op:remove (#76)Brian Rosmaita2017-12-041-1/+0
|/ | | | | | | | | | | | RFC 6902 section 4.2 [0] does not define a 'value' field for the 'remove' operation. The commit "Merge _op_base classes into PatchOperation classes" [1] introduced a 'value' field in _item_removed() in the DiffBuilder class. This patch removes the 'value' field from the 'remove' operation, adds a new test, and revises some other tests. [0] https://tools.ietf.org/html/rfc6902#section-4.2 [1] https://github.com/stefankoegl/python-json-patch/commit/03aa14e8209d59522476726d55bfabf86a28929e
* Bump version to 1.20v1.20Stefan Kögl2017-11-251-1/+1
| | | | | | | The next version would have been 1.17, but a bump to 1.20 was requested per #67 to fix an issue with versioning of the Debian package https://github.com/stefankoegl/python-json-patch/issues/67
* Merge branch 'jsondiff'Stefan Kögl2017-11-251-279/+303
|\
| * Merge branch 'master' into jsondiffStefan Kögl2017-11-251-19/+3
| |\