phpcyy / pson
json pretty with colors
v1.1.6
2020-08-09 08:42 UTC
Requires
- ext-json: *
README
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.