Search not working?
Hello. I'm trying out the app and am very happy with it so far but I feel like the search isn't working right. I'm not sure if this is a bug or just me using it wrong.
I put this into the search bar above my JSON object:
$.*.ingredients[@.ingredient = 'egg']
Here's a link to the file am testing on:
https://expirebox.com/download/5924a7f6016db47a4853045d6a7d18c1.html
Note: that's a temporary link. The file needs to be downloaded in 2 days.
Comments (3)
-
reporter -
repo owner Hello
I have looked at this issue, and it is a bug. Currently the query will not execute correctly unless you remove the '' signs around the string value that is a bug.
The query will return results if it is written as : $.*.ingredients[?(@.ingredient == egg)]
the correct query is
$.*.ingredients[?(@.ingredient == 'egg')]
there is some bug involving the ''.
This is a bug and I am going to fix it.
Thank you.
-
repo owner - marked as blocker
- Log in to comment
Here's the json