jq '[path(..)|map(if type=="number" then "[]" else tostring end)|join(".")|split(".[]")|join("[]")]|unique|map("."+.)|.[]'
Created
December 24, 2018 09:39
-
-
Save daemonp/ebb802d205e1ef4f98d7fc2668f14a36 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment