| Crates.io | joxide |
| lib.rs | joxide |
| version | 0.1.4 |
| created_at | 2022-11-01 18:59:45.747707+00 |
| updated_at | 2025-01-03 06:20:45.466728+00 |
| description | CLI tool to validate and format json files |
| homepage | https://github.com/RainingComputers/joxide |
| repository | https://github.com/RainingComputers/joxide |
| max_upload_size | |
| id | 702998 |
| size | 39,468 |
joxide is a CLI tool to validate and format json files written in rust. The parser, validator and the formatter are completely written from scratch and uses argh to parse CLI arguments.
test.json
{
"hello": "world",
"numbers": [
2
3
]
}
Validate
> joxide validate test.json
At test.json:5:9
3
^
Did not expect '3', expected ']'. Forgot a comma maybe?
cargo install joxide
Formatting files
joxide format <path-or-glob-or-dir> [--indent-length <indent-length>] [--write]
Validating files
joxide validate <path-or-glob-or-dir>