-
-
Notifications
You must be signed in to change notification settings - Fork 180
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
Is there a way to get the length for result of a path? #107
Comments
Is there some reason you can't just get |
@brettz9 I am using JsonPath in a rule engine. I want to keep my path generic and therefore thought that it would be great if there is a way to do it. |
@prashantagarwal : No, we still don't have the expressiveness of XPath (not to mention XQuery), though a PR would be welcome... |
Though I haven't taken a close look, from a quick overview JSONata looks quite exciting... |
Hello, why was this issue closed? |
The original poster perhaps closed it due to a relative lack of maintenance of this repository and my mentioning JSONata as an interesting looking project. PRs would be welcome, but see #124 on our wishing to first see proposals be made as part of a standardization process so that different jsonpath implementations do not end up differing so much. |
I have a JSON
and I have the path as
collection[*].prop@integer()
. I want to know the size of the result, which should be 1 in this case.The text was updated successfully, but these errors were encountered: