summaryrefslogtreecommitdiff
path: root/jsonpointer.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* add JsonPointer.contains()Stefan Kögl2012-11-151-0/+6
|
* add JsonPointer.to_last() for use in jsonpatchStefan Kögl2012-11-151-5/+30
|
* make doctests compatible with Python 3.3Stefan Kögl2012-11-111-4/+4
|
* bump version to 0.4v0.4Stefan Kögl2012-11-081-3/+4
|
* update jsonpointer to current specStefan Kögl2012-11-081-15/+34
| | | | http://tools.ietf.org/html/draft-ietf-appsawg-json-pointer-05
* Fix test for Jython2.5.Alexander Shorin2012-09-121-2/+2
| | | | It doesn't respect this key order while others do.
* Fix compatibility with Python 3.x.Alexander Shorin2012-09-121-3/+9
|
* Fix compatibility with Python 2.5.Alexander Shorin2012-09-121-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 Shorin2012-09-121-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.3Stefan Kögl2012-09-071-8/+10
| | | | http://tools.ietf.org/html/draft-ietf-appsawg-json-pointer-04
* bump version to 0.2v0.2Stefan Kögl2011-08-231-1/+1
|
* add JsonPointer.set() method, fix #1Stefan Kögl2011-08-191-0/+83
|
* JsonPointer.get alias for JsonPointer.resolveStefan Kögl2011-08-191-0/+3
|
* add default parameter to resolve_pointer()Stefan Kögl2011-08-021-4/+18
|
* refactor into JsonPointer classStefan Kögl2011-08-011-24/+37
|
* make doctests less prone to errors by dict-orderingStefan Kögl2011-08-011-8/+8
|
* initial commitStefan Kögl2011-07-311-0/+107