Created
November 23, 2015 19:36
-
-
Save dirkgr/445a880c51122ea79a24 to your computer and use it in GitHub Desktop.
In a JSON file with run-together brackets ("}{"), this inserts newlines between them, so you have one JSON expression on one line.
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
perl -pe 'BEGIN{ $/="}{" } s/}{/}\n{/g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment