Skip to content

Instantly share code, notes, and snippets.

@Vunovati
Created July 20, 2015 09:02
Extract json from file and lint it
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