Open field210 opened 10 years ago
I would like to use || and && in my expression. Here is an example.
On http://jsonselect.org/#tryit , I would like to select "name": {} when .first equals to "Lloyd" OR .last equals to "Hilaiel".
I tried this expression, but it does not work. :root :has(.first:val("Lloyd") || .last:val("Hilaiel"))
Could you please give me a suggestion? Thank you.
I would like to use || and && in my expression. Here is an example.
On http://jsonselect.org/#tryit , I would like to select "name": {} when .first equals to "Lloyd" OR .last equals to "Hilaiel".
I tried this expression, but it does not work. :root :has(.first:val("Lloyd") || .last:val("Hilaiel"))
Could you please give me a suggestion? Thank you.