Created
October 30, 2020 09:26
-
-
Save mkows/60203538829f52f43834940c19f492f4 to your computer and use it in GitHub Desktop.
Handle jsonc (json with comments) with jq
This file contains hidden or 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
# brew install jsmin | |
cat file-with-comments.jsonc | jsmin | jq 'keys' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment