Skip to content
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

multiple descents #4

Open
JaniszM opened this issue Dec 7, 2015 · 0 comments
Open

multiple descents #4

JaniszM opened this issue Dec 7, 2015 · 0 comments

Comments

@JaniszM
Copy link

JaniszM commented Dec 7, 2015

I think It is impossible to use multiple descents operators in one query but should be. Example:

{
path: {
    "get": {
        "enum": 123
    },
    "put": {
        "something": {
            "enum": 1235
        }
   }
}}

Using ..put..enum or ..get..enum it should be possible to get one enum element each time but gets empty array ([]).
jpath.resolve(data, "..put..enum");

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

No branches or pull requests

1 participant