Skip to content
This repository has been archived by the owner on Mar 13, 2020. It is now read-only.

sanscore/json_cat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gem Version

JsonCat

Pretty print JSON files and standard input

Format JSON to be easier to read; colorize, sort keys, etc.

Installation

$ gem install json_cat

Usage

$ json_cat -h
Usage: json_cat [options]
    -c, --[no-]color                 Colorize output (default: --color)
        --grep key                   Filter out JSON without key
    -h, --help                       Prints this help
    -o, --omit key[,key]             Omit keys from JSON
    -p, --parse key[,key]            Parse Key-value as JSON
    -s, --[no-]sort                  Sort keys
    -t, --[no-]timestamp             Timestamp lines

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/sanscore/json_cat.

About

Pretty print JSON files and standard input

Resources

License

Stars

Watchers

Forks

Packages

No packages published