I have a bunch of hundred thousand line json files, and I'm trying to work how out they are structured.
I'd like to print the path to all keys named "ENTITY" with a value "TEXT".
these can be nested at any level. There are lots of examples for finding one at a particular level, e.g. Select objects based on value of variable in object using jq
But I'm actually trying to figure out where these items are nested, since the file is so large, I can't do it by inspection.