Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Get colorized and indented JSON in the terminal

Project Description

Yay, beautiful JSON on the command line!

yayson will take input on stdin and print pretty JSON with color in your terminal. It will come out something like this:

![Example Yayson output](http://sebdah.github.com/yayson/img/screenshot.png)

Example usage

cat my.json | yayson.py

or

curl -s http://www.example.com/my.json | yayson.py

–help output

usage: yayson.py [-h] [-i INDENT] [-c] [-s] [–version]

Yayson produces beautiful JSON

optional arguments:
-h, --help show this help message and exit
-i INDENT, --indent INDENT
 Number of spaces to indent with (default: 2)
-c, --compact Print JSON in compact mode, i.e. without spaces between keys and values
-s, --sort Turn on key sorting
--version Print version information

Release information

0.3.1 (2015-03-23)

0.3.0 (2013-05-23)

0.2.0 (2013-04-08)

0.1.0 (2013-04-07)

  • Initial release

Releasing to PyPI

make release

Author

This project is maintained by [Sebastian Dahlgren](http://www.sebastiandahlgren.se) ([GitHub](https://github.com/sebdah) | [Twitter](https://twitter.com/sebdah) | [LinkedIn](www.linkedin.com/in/sebastiandahlgren))

Release History

Release History

This version
History Node

0.3.1

History Node

0.3.0

History Node

0.2.0

History Node

0.1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
yayson-0.3.1.tar.gz (3.1 kB) Copy SHA256 Checksum SHA256 Source Mar 24, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting