Month: January 2014
-
Pretty printing json
Here is a really simple way to pretty print some unformatted json $ echo ‘{“foo”: “lorem”, “bar”: “ipsum”}’ | python -mjson.tool { “bar”: “ipsum”, “foo”: “lorem” }
Join 165 other subscribers
archives
Category
- ►Computers (132)
- ►(x)html (19)
- ►bash (9)
- ►css (13)
- ►elasticsearch (1)
- ►git (1)
- ►hardware (3)
- ►java (2)
- ►javascript (12)
- ►latex (29)
- ►linux (25)
- ►lucene (1)
- ►mac osx (10)
- ►perl (8)
- ►php (18)
- ►python (4)
- ►regex (4)
- ►software development (4)
- ►solr (1)
- ►sql (9)
- ►svn (1)
- ►UNIX (12)
- ►vim (1)
- ►wiki/cms (11)
- ►WordPress (56)
- ►(x)html (19)
- ►cooking (44)
- ►environmentalism (4)
- ►general (17)
- ►linguistics (15)
- ►mindfulness (4)
- ►music (2)
- ►photography (15)