summaryrefslogtreecommitdiff
path: root/jsonpointer.py
Commit message (Collapse)AuthorAgeFilesLines
* Perform input validation in JsonPoinervalidationStefan Kögl2017-10-291-0/+8
|
* Bump version to 1.13v1.13Stefan Kögl2017-10-261-1/+1
|
* Pointers should not be assumed urlencoded, fix #22issue-22Stefan Kögl2017-10-261-7/+21
|
* Bump version to 1.12v1.12Stefan Kögl2017-09-101-1/+1
|
* Revert optimizations due to compatibility issues with jsonpatchStefan Kögl2017-09-101-87/+61
|
* Bump version to 1.11Stefan Kögl2017-09-101-24/+1
|
* Resolve merge conflicts, style issuesStefan Kögl2017-09-101-37/+86
|
* Merge branch 'broad-exception-handling' of ↵Stefan Kögl2017-09-101-17/+13
|\ | | | | | | https://github.com/thekafkaf/python-json-pointer into thekafkaf-broad-exception-handling
| * Removed redundent assertion(part of it)kafkaf-2014-11-141-1/+1
| |
| * Using the same handling for the case in which the doc is a mapping or an ↵kafkaf-2014-11-141-11/+7
| | | | | | | | object that support __getitem__(but not a sequence), Updated the tests
| * Removed unrelated changes to the contains method, reverted the exception handlekafkaf-2014-11-141-3/+2
| |
| * Catching a broad exception to ensure the return of the default, added tests, ↵kafkaf-2014-11-051-3/+4
| | | | | | | | fixed a bug where obj.contains(obj) returned false, added test case
* | Merge branch 'refactoring' of ↵Stefan Kögl2017-09-101-82/+77
|\ \ | | | | | | | | | https://github.com/thekafkaf/python-json-pointer into thekafkaf-refactoring
| * | Removed redundent conts, reverted the version number, reverted formatting of ↵kafkaf-2014-11-101-7/+4
| | | | | | | | | | | | a part
| * | Revreted docstrings to pep8, added a docstring summary to pairwise, reverted ↵kafkaf-2014-11-101-38/+18
| | | | | | | | | | | | a change to contains methods
| * | Refactored jsonpointer.py, added tox.inikafkaf-2014-11-051-83/+102
| |/
* | Extract (un)escape functionStefan Kögl2017-09-101-7/+10
| |
* | bump version to 1.10v1.10Stefan Kögl2015-10-281-1/+1
| |
* | bump version to 1.9v1.9Stefan Kögl2015-05-071-1/+1
| | | | | | | | Previous upload to PyPI was broken.
* | bump version to 1.8v1.8Stefan Kögl2015-05-071-1/+1
| |
* | Fix UnicodeEncodeError with non-ASCII paths, fixes #18Stefan Kögl2015-05-071-0/+1
| |
* | bump version to 1.7v1.7Stefan Kögl2014-12-141-1/+1
| |
* | bump version to 1.6v1.6Stefan Kögl2014-11-141-1/+1
| |
* | Fix contains unexpected false returnkafkaf-2014-11-141-3/+6
|/
* bump version to 1.5v1.5abcsStefan Kögl2014-11-031-1/+1
|
* Use ABCs instead of list/dictStefan Kögl2014-11-031-4/+9
| | | | see https://github.com/stefankoegl/python-json-patch/issues/33
* bump version to 1.4v1.4Stefan Kögl2014-07-031-1/+1
|
* Calculate path properly when self.parts == [].Alexander Dutton2014-03-261-1/+1
|
* JsonPointer.from_parts should handle the empty pathAlexander Dutton2014-03-261-1/+1
| | | [The RFC says](http://tools.ietf.org/html/rfc6901#page-5) that the path `""` points at the original document. However, passing `[]` to `from_parts()` results in a path of `"/"` (the same as when one passes `[""]`. This makes the empty list produce a pointer for the empty path.
* fix doctest for Python 3Stefan Kögl2014-03-221-5/+3
|
* bump version to 1.3Stefan Kögl2014-03-221-1/+1
|
* add JsonPointer.path and JsonPointer.from_partsStefan Kögl2014-03-221-0/+25
|
* bump version to 1.2Stefan Kögl2014-03-221-1/+1
|
* fix string formatting in assert statementStefan Kögl2013-11-221-1/+1
|
* Support for set_pointer and indexing arbitrary objects via ↵Christopher J. White2013-09-221-5/+49
| | | | __getitem__/__setitem__
* refactor type checkbaserock/morphStefan Kögl2013-07-111-5/+4
|
* remove unused param of to_last()Stefan Kögl2013-07-111-1/+1
|
* add doctests for pairwise(iter)Stefan Kögl2013-07-061-1/+11
|
* fix unicode literal quirks in Python 3.2Stefan Kögl2013-04-131-4/+6
|
* let sphinx extract version, author from sourceStefan Kögl2013-04-131-4/+4
|
* bump version to 1.0v1.0Stefan Kögl2013-04-031-1/+1
|
* mention RFC 6901Stefan Kögl2013-04-031-3/+1
|
* bump version to 0.7Stefan Kögl2013-01-061-1/+1
|
* unambiguous array indices make pointers comparableStefan Kögl2013-01-061-2/+19
|
* no leading zeros for array indices, as of draft 08Stefan Kögl2013-01-061-2/+2
|
* bump version to 0.6Stefan Kögl2012-12-201-3/+3
|
* fix validation of array indicesStefan Kögl2012-12-141-1/+4
|
* remove JsonPointer.set() to avoid duplicate code w/ python-json-patchStefan Kögl2012-12-101-74/+0
| | | | | json-patch (https://github.com/stefankoegl/python-json-patch/) should be used for modifying JSON documents
* proper array index validation (dash, unsigned int)Stefan Kögl2012-12-101-3/+8
| | | | | | | | | | | | | | | | According to the spec http://tools.ietf.org/html/draft-ietf-appsawg-json-pointer-06 o If the currently referenced value is a JSON array, the reference token MUST contain either: * characters that represent an unsigned base-10 integer value (possibly with leading zeros), making the new referenced value the array element with the zero-based index identified by the token, or * exactly the single character "-", making the new referenced value the (non-existant) member after the last array element.
* bump version to 0.5v0.5Stefan Kögl2012-11-151-1/+1
|