Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (19 sloc) 629 Bytes

pjson

Like python -mjson.tool but with moar colors (and less conf)

Usage

⚡ echo '{"json":"obj"}' | pjson
{
  "json": "obj"
}

Looks Like This

Image for the haters:

image

Small retina display images are fucking huge.

Example With Curl

⚡ curl https://api.github.com/users/igorgue | pjson

Install

Install pygments and xmlformatter:

⚡ pip install pjson xmlformatter

MFW I did This Project

image