Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mharrisb1/jay

🐦 JSON utils
https://github.com/mharrisb1/jay

Last synced: 15 days ago
JSON representation

🐦 JSON utils

Awesome Lists containing this project

README

        

# 🐦 Jay - JSON utils

Collection of utilities for working with JSON

> [!WARNING]
> WIP and probably buggy

## Help

```sh
🐦 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

```sh
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"
}
}
```