Skip to content

Moosemorals/jp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jp: A command line tool to prettyfy JSON

Install

$ git clone https://github.com/Moosemorals/jp.git
$ cd jp
$ make install

The command jp will be installed into $GOROOT/bin (assuming the tests pass)

Run

$ jp < infile.json > outfile.json

Options

  • -compact : Strip out any non-meaningful whitespace
  • -indent n : Set the indent width (default 2)

Licence

This package is covered by the ISC licence

Releases

No releases published

Packages

No packages published