Skip to content

dorianmariecom/dorian-json-read-write

Repository files navigation

dorian-json-read-write

Read JSON and write it back in normalized pretty form.

Install

gem install dorian-json-read-write

Also included in the aggregate gem:

gem install dorian

Usage

json-read-write [json ...] [file ...]

Run json-read-write -h for generated option details and json-read-write -v for the installed version.

Notes

  • With files, rewrites each file. With stdin or inline JSON, prints normalized JSON to stdout.

Examples

Normalize stdin

cat package.json | json-read-write

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors