-
Notifications
You must be signed in to change notification settings - Fork 20
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
Unify terms #20
Comments
Are we looking at the same draft and version? https://jsonpath-standard.github.io/internet-draft/ does not use the term filter, you see. |
I think I picked up "filter" from one of my issues. Still, we should use a single term. It looks like we've made an effort to define "matcher," but "selector" sounds more appropriate to me. |
Ok, I'll take a crack at this. |
Filter is a |
Right, let's ignore filters for this issue. I'll see if we can replace "matcher" with "selector" sensibly. |
Sometimes in the draft, as it currently is, the terms "matcher," "selector," and "filter" seem to be used interchangeably. These terms need to be explicitly defined, and where we have synonyms, we should only use one.
Personally, I'm in favor of "selector" for everything since JSON Path is technically a query language. "Matcher", to me, sounds redundant when talking about its action: "A matcher may match a node and, if it matches, ..." (Section 2.5). Using the word "selector" here reduces some of the redundancy.
The text was updated successfully, but these errors were encountered: