Skip to content

akht/prettyjson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prettyjson

A Tiny Command Line Tool In Rust To Make Json Pretty

Install

If you use cargo,

$ git clone https://github.com/akht/prettyjson.git
$ cd prettyjson
$ cargo install --path .

Usage

$ prettyjson '{"foo":1,"bar":2}'

or

$ echo '{"foo":1,"bar":2}' | prettyjson

output

{
  "bar": 2,
  "foo": 1
}

That's all!

About

Make Json Pretty

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages