Skip to content

dorianmariecom/dorian-sort-json

Repository files navigation

dorian-sort-json

Recursively sort JSON object keys.

Install

gem install dorian-sort-json

Also included in the aggregate gem:

gem install dorian

Usage

sort-json [options] [json ...] [file ...]

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

Notes

  • Use --pretty false for compact JSON output.

Examples

Sort inline JSON

sort-json '{"b":2,"a":1}'

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors