Skip to main content

yayson

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))

Metadata

Release files for yayson 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yayson 0.3.1
File Size Uploaded Provenance Actions
yayson-0.3.1.tar.gz 3.1 kB Without provenance Details for yayson-0.3.1.tar.gz

Release files / yayson-0.3.1.tar.gz

Download URL yayson-0.3.1.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
33796c321db348974783ef48e76389f78974990a3106a75f6343d73ac15b8f45
BLAKE2b-256 checksum
How to use checksums
fc994c9b1a0e165e85321491834fb0c523aceeb9ebaa1892ee6b10b0e2692987
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for yayson 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page