Skip to main content

Command-line tool to validate and pretty-print JSON and XML.

Project description

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](http://f.cl.ly/items/3R1M3b2j2o2v1z0z2U0E/Screen%20Shot%202012-07-19%20at%206.58.54%20PM.png)

Small retina display images are fucking huge.

###Example With Curl

⚡ curl https://github.com/igorgue.json | pjson

###Install

Install `pygments`:

⚡ pip install pjson

###MFW I did This Project

![image](http://alltheragefaces.com/img/faces/large/surprised-omg-l.png)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pjson-0.1.tar.gz (2.5 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page