Created
December 4, 2023 01:48
-
-
Save szepeviktor/716c1c610acbf1b4114dcd46a3301a78 to your computer and use it in GitHub Desktop.
jq dot notation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jq -r 'paths(scalars) as $p | ($p | join(".")) + " = " + (getpath($p)|tostring)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment