| Crates.io | ferrite-json |
| lib.rs | ferrite-json |
| version | 0.1.0 |
| created_at | 2026-01-17 18:55:45.071318+00 |
| updated_at | 2026-01-17 18:55:45.071318+00 |
| description | json validator that actually tells you how to fix your mistakes |
| homepage | https://github.com/awrped/ferrite |
| repository | https://github.com/awrped/ferrite |
| max_upload_size | |
| id | 2050959 |
| size | 32,745 |
humans make errors, so we should show it to them, so it can be fixed.
cargo build --release
./target/release/ferrite <file.json>
Error: ferrite::trailing_comma
x trailing comma
,-[4:42]
3 | "age": 30,
4 | "hobbies": ["reading", "coding", "gaming",]
: |
: `-- remove this comma
5 | }
`----
help: change `"hobbies": ["reading", "coding", "gaming",]` to `"hobbies": ["reading", "coding", "gaming"]`
plsz make sure to pre-lint with clippy before making a pr:
cargo clippy --all-targets --all-features -- -D warnings