Project

json_cat

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Format JSON to be easier to read; colorize, sort keys, etc.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.12
~> 5.0
~> 10.0

Runtime

>= 0
~> 2.1
 Project Readme

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.