-
Notifications
You must be signed in to change notification settings - Fork 13
Update README.md #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
markborkum
wants to merge
40
commits into
pacifica:master
from
markborkum:feat-subscriptable-jsonpath
Closed
Update README.md #13
markborkum
wants to merge
40
commits into
pacifica:master
from
markborkum:feat-subscriptable-jsonpath
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Copy files from https://github.com/markborkum/pacifica-jsonpath@jsonpath2 and merge conflicts.
Signed-off-by: David Brown <dmlb2000@gmail.com>
Flake8 warned that the operator callables were globals. In a previous commit, the operator callables were refactored into method-locals in the operator's constructor. This is sufficient to resolve the flake8 warnings, but introduces a bug: since callables are created per instance, they have different memory locations, and hence, are not compatible with the `Node`-level definition of `__eq__`, which naively compares each `__dict__` of each operand. The fix is to refactor the operator callables into static methods.
Signed-off-by: David Brown <dmlb2000@gmail.com>
Signed-off-by: David Brown <dmlb2000@gmail.com>
In previous implementations of JSONPath, the current value is implicitly cast to array or object if the next node is an array index subscript or object index subscript. This introduces ambiguity: "is the index subscript referring to the current value, or a child value of the current value?" The solution is to use the wildcard "*" to refer to the child values explicitly.
Signed-off-by: David Brown <dmlb2000@gmail.com>
Signed-off-by: David Brown <dmlb2000@gmail.com>
Aim for feature parity with equivalent in Python programming language
Contributor
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
n/a
Issues Resolved
n/a
Check List