-- Fixed JSON pointers using negative indices. Previously we would resolve negative indices against array-like values, but the JSON Pointer specification (RFC 6901) does not allow negative array indexes. We now raise a `JSONPointerIndexError` if a JSON Pointer attempts to resolve an array item with a negative index. See [#116](https://github.com/jg-rp/python-jsonpath/pull/116). For anyone needing JSON Pointers that support negative indexes, set `JSONPointer.min_int_index` to a suitably negative integer, like `JSONPointer.min_int_index = -(2**53) + 1`.
0 commit comments