Created
July 20, 2015 09:02
-
-
Save Vunovati/4e68277d6c5b79b445bb to your computer and use it in GitHub Desktop.
Extract json from file and lint it
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
jsonlint <(sed -n '/^{/,/^}/p' filename | sed 's/^}/},/g') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment