Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bump version to 1.5v1.5abcs | Stefan Kögl | 2014-11-03 | 1 | -1/+1 |
| | |||||
* | Use ABCs instead of list/dict | Stefan Kögl | 2014-11-03 | 1 | -4/+9 |
| | | | | see https://github.com/stefankoegl/python-json-patch/issues/33 | ||||
* | bump version to 1.4v1.4 | Stefan Kögl | 2014-07-03 | 1 | -1/+1 |
| | |||||
* | Calculate path properly when self.parts == []. | Alexander Dutton | 2014-03-26 | 1 | -1/+1 |
| | |||||
* | JsonPointer.from_parts should handle the empty path | Alexander Dutton | 2014-03-26 | 1 | -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 3 | Stefan Kögl | 2014-03-22 | 1 | -5/+3 |
| | |||||
* | bump version to 1.3 | Stefan Kögl | 2014-03-22 | 1 | -1/+1 |
| | |||||
* | add JsonPointer.path and JsonPointer.from_parts | Stefan Kögl | 2014-03-22 | 1 | -0/+25 |
| | |||||
* | bump version to 1.2 | Stefan Kögl | 2014-03-22 | 1 | -1/+1 |
| | |||||
* | fix string formatting in assert statement | Stefan Kögl | 2013-11-22 | 1 | -1/+1 |
| | |||||
* | Support for set_pointer and indexing arbitrary objects via ↵ | Christopher J. White | 2013-09-22 | 1 | -5/+49 |
| | | | | __getitem__/__setitem__ | ||||
* | refactor type checkbaserock/morph | Stefan Kögl | 2013-07-11 | 1 | -5/+4 |
| | |||||
* | remove unused param of to_last() | Stefan Kögl | 2013-07-11 | 1 | -1/+1 |
| | |||||
* | add doctests for pairwise(iter) | Stefan Kögl | 2013-07-06 | 1 | -1/+11 |
| | |||||
* | fix unicode literal quirks in Python 3.2 | Stefan Kögl | 2013-04-13 | 1 | -4/+6 |
| | |||||
* | let sphinx extract version, author from source | Stefan Kögl | 2013-04-13 | 1 | -4/+4 |
| | |||||
* | bump version to 1.0v1.0 | Stefan Kögl | 2013-04-03 | 1 | -1/+1 |
| | |||||
* | mention RFC 6901 | Stefan Kögl | 2013-04-03 | 1 | -3/+1 |
| | |||||
* | bump version to 0.7 | Stefan Kögl | 2013-01-06 | 1 | -1/+1 |
| | |||||
* | unambiguous array indices make pointers comparable | Stefan Kögl | 2013-01-06 | 1 | -2/+19 |
| | |||||
* | no leading zeros for array indices, as of draft 08 | Stefan Kögl | 2013-01-06 | 1 | -2/+2 |
| | |||||
* | bump version to 0.6 | Stefan Kögl | 2012-12-20 | 1 | -3/+3 |
| | |||||
* | fix validation of array indices | Stefan Kögl | 2012-12-14 | 1 | -1/+4 |
| | |||||
* | remove JsonPointer.set() to avoid duplicate code w/ python-json-patch | Stefan Kögl | 2012-12-10 | 1 | -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ögl | 2012-12-10 | 1 | -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.5 | Stefan Kögl | 2012-11-15 | 1 | -1/+1 |
| | |||||
* | add JsonPointer.contains() | Stefan Kögl | 2012-11-15 | 1 | -0/+6 |
| | |||||
* | add JsonPointer.to_last() for use in jsonpatch | Stefan Kögl | 2012-11-15 | 1 | -5/+30 |
| | |||||
* | make doctests compatible with Python 3.3 | Stefan Kögl | 2012-11-11 | 1 | -4/+4 |
| | |||||
* | bump version to 0.4v0.4 | Stefan Kögl | 2012-11-08 | 1 | -3/+4 |
| | |||||
* | update jsonpointer to current spec | Stefan Kögl | 2012-11-08 | 1 | -15/+34 |
| | | | | http://tools.ietf.org/html/draft-ietf-appsawg-json-pointer-05 | ||||
* | Fix test for Jython2.5. | Alexander Shorin | 2012-09-12 | 1 | -2/+2 |
| | | | | It doesn't respect this key order while others do. | ||||
* | Fix compatibility with Python 3.x. | Alexander Shorin | 2012-09-12 | 1 | -3/+9 |
| | |||||
* | Fix compatibility with Python 2.5. | Alexander Shorin | 2012-09-12 | 1 | -1/+2 |
| | | | | | Emulate next(b, None) through for loop with single round. There wasn't print_function, while it really doesn't needed. | ||||
* | Stefan, would you mind if I fix your name?(: | Alexander Shorin | 2012-09-12 | 1 | -2/+1 |
| | | | | | | $ python3.2 jsonpointer.py File "jsonpointer.py", line 37 SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xf6 in position 0: invalid start byte | ||||
* | update jsonpointer to current specv0.3 | Stefan Kögl | 2012-09-07 | 1 | -8/+10 |
| | | | | http://tools.ietf.org/html/draft-ietf-appsawg-json-pointer-04 | ||||
* | bump version to 0.2v0.2 | Stefan Kögl | 2011-08-23 | 1 | -1/+1 |
| | |||||
* | add JsonPointer.set() method, fix #1 | Stefan Kögl | 2011-08-19 | 1 | -0/+83 |
| | |||||
* | JsonPointer.get alias for JsonPointer.resolve | Stefan Kögl | 2011-08-19 | 1 | -0/+3 |
| | |||||
* | add default parameter to resolve_pointer() | Stefan Kögl | 2011-08-02 | 1 | -4/+18 |
| | |||||
* | refactor into JsonPointer class | Stefan Kögl | 2011-08-01 | 1 | -24/+37 |
| | |||||
* | make doctests less prone to errors by dict-ordering | Stefan Kögl | 2011-08-01 | 1 | -8/+8 |
| | |||||
* | initial commit | Stefan Kögl | 2011-07-31 | 1 | -0/+107 |