-
One really nifty thing that you can do with jq is produce a simple, line-oriented output, where each line represents a path = value pair. So, given foo.yaml like so:
You can run something like:
See: tool that shows all possible jq paths in a given json file #243 Is there a way to do the equivalent using native |
Beta Was this translation helpful? Give feedback.
Answered by
mortya
May 8, 2023
Replies: 1 comment
-
Never mind. Found https://stackoverflow.com/questions/69302617/yq-v4-print-all-key-value-pairs-with-full-key-path on stack overflow. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mortya
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Never mind. Found https://stackoverflow.com/questions/69302617/yq-v4-print-all-key-value-pairs-with-full-key-path on stack overflow.