Closed shahargli closed 1 month ago
Your syntax is not quite right. The filter syntax, that is [?…]
, operates on arrays. If you try instead panels[?datasource.type = "type1"]
, you'll get {"datasource": {"type": "type1"}
in your results.
I'm going to close this, but feel free to reopen if you still have questions.
Hello,
I am trying to use jsonpath_ng.ext to find items in a json data structure. Following is the program, where I expected to find one item (panels.datasource.type=='type1'), but find() always returns empty list