Skip to content

bentonporter/jpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

jpp

A command-line JSON pretty printer.

Usage

Pretty-print responses from web services:

curl https://api.github.com/users/octocat | jpp

Or pretty-print JSON from a file:

jpp file.json

More usage:

>> jpp -h
Usage: jpp [options] file
    -i, --indent N                   Number of spaces to indent (default: 2) 
    -s, --sort                       Sort json alphabetically by key
    -v, --version                    Show version

Install

gem install jpp

Contribute

To build and run locally:

git clone [email protected]:bentonporter/jpp.git
cd jpp
gem build jpp.gemspec && gem install jpp-1.1.0.gem

About

A command-line JSON pretty printer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages