Skip to content
/ pson Public

Json pretty output with colors in terminal.

Notifications You must be signed in to change notification settings

phpcyy/pson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Json pretty output with colors in terminal.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages