Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 466 Bytes

File metadata and controls

26 lines (15 loc) · 466 Bytes

pson

Json pretty show with colors in terminal.

Usage

Simple usage:

composer g require phpcyy/pson

# Format json from file.
~/.composer/vendor/bin/pson file.json

# Or from STDIN (standard input).
echo '{"message": "hello, 世界"}' | ~/.composer/vendor/bin/pson

And you will see:

You may add pson into your environment variable ($PATH), and you can use it anywhere.

Just enjoy it.