when running this I get this path $["db"] while I should get the full path which is $["a"]["b"]["c"]["db"]
I can run this expression {#: $..[?(@.e == 1)]} but I don't want to search the all tree and get also the $["a"]["x"] path, just what under a.b.c hierarchy
Is there a fix for that?
I think I should get the full paths and values when running this expression
{#: $.a.b.c..[?(@.e == 1)]}
on this json:when running this I get this path $["db"] while I should get the full path which is $["a"]["b"]["c"]["db"]
I can run this expression
{#: $..[?(@.e == 1)]}
but I don't want to search the all tree and get also the $["a"]["x"] path, just what under a.b.c hierarchy Is there a fix for that?