Skip to content

Latest commit

History

41 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

joxide

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": [
23
]
}

Validate

> joxide validate test.json
At test.json:5:9
3
^
Did not expect '3', expected ']'. Forgot a comma maybe?

Install

cargo install joxide

Usage

Formatting files

joxide format <path-or-glob-or-dir> [--indent-length <indent-length>] [--write]

Validating files

joxide validate <path-or-glob-or-dir>

About

CLI tool to validate and format json files written in rust.

Resources

Stars

9 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages