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.2.tar.gz (2.5 kB view details)

Uploaded Source

File details

Details for the file pjson-0.2.tar.gz.

File metadata

  • Download URL: pjson-0.2.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pjson-0.2.tar.gz
Algorithm Hash digest
SHA256 559a029689411102d066a4437ef966adaa79bb31b2d24fdf087bbe607a5dfa32
MD5 606092b4283a31848e8ad5b45e543cbe
BLAKE2b-256 0b716c2f2d20414be35289e9f7e58c1bf25d86cf15de09e3b1ae11f2a341ab72

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page