Project

jpp

0.0
No commit activity in last 3 years
No release in over 3 years
A command-line JSON pretty-printer using the json gem
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

>= 0
 Project Readme

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 git@github.com:bentonporter/jpp.git
cd jpp
gem build jpp.gemspec && gem install jpp-1.1.0.gem