Skip to content

mharrisb1/jay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐦 Jay - JSON utils

Collection of utilities for working with JSON

Warning

WIP and probably buggy

Help

🐦 Jay - JSON utils

Usage: jay [OPTIONS] [COMMAND]

Commands:
  pp		Pretty print (default)
Options:
  -v, --verbose	Increase logging verbosity
  -q, --quiet	Decrease logging verbosity
  -h, --help	Print this message

Usage

Pretty print

Pretty print a JSON object

echo '{"name": "John Doe", "age": 30.0, "ethnicity": null, "is_student": false, "courses": ["Math", "Science"], "address": {"street": "123 Main St", "city": "Anytown"}}' | jay pp
{
  "name": "John Doe",
  "age": 30.000000,
  "ethnicity": null,
  "is_student": false,
  "courses": [
    "Math",
    "Science"
  ],
  "address": {
    "street": "123 Main St",
    "city": "Anytown"
  }
}

About

🐦 JSON utils

Resources

Stars

Watchers

Forks