phpcyy / pson
json pretty with colors
Installs: 24
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 1
pkg:composer/phpcyy/pson
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.