Skip to content

Refactor JSONPointer and improve docs - #92

Merged
jg-rp merged 8 commits into
mainfrom
refactor_pointer
Aug 5, 2025
Merged

jg-rp merged 8 commits into
mainfrom
refactor_pointer

Conversation

@jg-rp

@jg-rp jg-rp commented Aug 3, 2025 •

Copy link
Copy Markdown
Owner

This PR refactors JSONPointer._getitem() and adds some comments regarding the non-standard syntax it supports. Hopefully it is now more readable and maintainable.

I've stopped short of moving and/or disabling non-standard syntax by default for now, as this would probably be a breaking change and require a major version bump.

@jg-rp
jg-rp marked this pull request as ready for review August 4, 2025 08:00
@jg-rp jg-rp linked an issue Aug 4, 2025 that may be closed by this pull request
@jg-rp jg-rp changed the title Refactor JSONPointer Refactor JSONPointer and improve docs Aug 5, 2025
@jg-rp
jg-rp merged commit 0099b41 into main Aug 5, 2025
@jg-rp
jg-rp deleted the refactor_pointer branch August 5, 2025 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor JSONPointer Non-standard JSON Pointer # syntax and indexes with leading zeros Don't raise JSONPointerIndexError when parsing a JSON Pointer

1 participant