Skip to content

shell tool to pretty-print piped json input

License

Notifications You must be signed in to change notification settings

TimH96/prettyjson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a very simple script programmed in Go that pretty-prints any json output piped to it, for instance from calling a REST API with curl.

$ curl https://reqres.in/api/users/2 | prettyjson --indent 4