I am trying to apply a filter and then pick the first element from the resulting set and just trying things wildly :)
JSONPath: $.items[?(@.available && @.id>1),0].id
parsing error: $.items[?(@.available && @.id>1),0].id :1:33 - 1:34 mixed 63 and 44 in JSON bracket
I think the error wording is not helpful in this case, as I had to look into the ascii table to see that 64 is ? and 44 is ,, meaning that I mixed up the comma operator and filter thingy.
I am trying to apply a filter and then pick the first element from the resulting set and just trying things wildly :)
JSONPath:
$.items[?(@.available && @.id>1),0].id
I think the error wording is not helpful in this case, as I had to look into the ascii table to see that
64
is?
and44
is,
, meaning that I mixed up the comma operator and filter thingy.