$ jq -c 'path(..)|[.[]|tostring]|join("/")|"."+.'
The idea is to use one of the output lines in order to access the respective field on your next jq
command line:
$ jq ".fields.description" X.json
$ jq -c 'path(..)|[.[]|tostring]|join("/")|"."+.'
The idea is to use one of the output lines in order to access the respective field on your next jq
command line:
$ jq ".fields.description" X.json