You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, awesome library this has helped us so much.
I would like to suggest a new feature to return a filtered result selecting the keys. Right now, if we use $..book[0][category,author] it returns a list of results with the values of the object keys in the result. Taking the example $..book[0][category,author], it returns
[ 'reference',
'Nigel Rees',
'fiction',
'Evelyn Waugh',
'fiction',
'Herman Melville',
'fiction',
'J. R. R. Tolkien' ]
It would be great if we could add a feature to show the actual filtered object bases on these keys. Something like:
First of all, awesome library this has helped us so much.
I would like to suggest a new feature to return a filtered result selecting the keys. Right now, if we use $..book[0][category,author] it returns a list of results with the values of the object keys in the result. Taking the example
$..book[0][category,author]
, it returnsIt would be great if we could add a feature to show the actual filtered object bases on these keys. Something like:
For syntax, it could be like this:
$..book[0]{category,author}
or this:$..book[0]{category: expr,author:expr}
Let me know what you think.
Thank you!
The text was updated successfully, but these errors were encountered: