Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 801 Bytes

README.md

File metadata and controls

45 lines (35 loc) · 801 Bytes

🐦 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"
  }
}