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
I have just been looking at this library and was curious about this too. I figured out you can test numbers as follows: JSONSelect.match('.categories :has(.id:expr(x=2))', data);
For both string or number, use the following: JSONSelect.match('.categories :has(.id:expr(x=2 || x="2"))', data);
Hi. The file shown below is a valid JSON object. However, unless I wrap numbers with the double quote, JSONSelect isn't able to select an object.
So, using this file:
If I write
it find the object. If I write
it doesn't find the object (an empty array is returned).
The text was updated successfully, but these errors were encountered: