Skip to content

sorting support? #125

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

Open
theoephraim opened this issue Jun 18, 2020 · 1 comment
Open

sorting support? #125

theoephraim opened this issue Jun 18, 2020 · 1 comment
Labels

Comments

@theoephraim
Copy link

Been looking all over for a jsonpath type tool that supports sorting - ie sort the items in an array by a property within a query/path. A similar example is described here using an extension in a python jsonpath implementation.

In their implementation, slashes are used to signify sort and which direction, but I can imagine other alternatives and it is by no means a standard as I have yet to see it anywhere you else. You can imagine a path of items[\price][3].name to "get the names of top 3 items sorted by price (descendin)"

Does this seem feasible to add to this tool? I imagine many folks would want to use this kind of query, and could be worth supporting.

@brettz9
Copy link
Collaborator

brettz9 commented Jun 18, 2020

This library is not currently being very actively developed, especially for new features. However, we should be able to review any PRs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants