Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mharrisb1/jay
🐦 JSON utils
https://github.com/mharrisb1/jay
Last synced: 15 days ago
JSON representation
🐦 JSON utils
- Host: GitHub
- URL: https://github.com/mharrisb1/jay
- Owner: mharrisb1
- Created: 2024-10-04T02:21:31.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-12-10T04:07:13.000Z (2 months ago)
- Last Synced: 2024-12-10T05:18:59.350Z (2 months ago)
- Language: C
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 utilsUsage: 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"
}
}
```