Created
October 11, 2012 15:50
-
-
Save EppO/3873342 to your computer and use it in GitHub Desktop.
Format XML/JSON from command line
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
#XML | |
$ curl http://something/xml | xmllint —format - | |
#JSON | |
$ curl http://something/json | python -mjson.tool |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment