Check JSON, JSONC and JSON5 in your browser
Formerly check-json5. In your hook, change id: check-json5 to id: jsonvet. Show the hook
Fix options
Same setting as command-line flags
Format options
Same setting in jsonvet.toml
staging.json 11 lines
Paste or drop a file on the text. F8 and Shift+F8 jump between problems.
Samples:
Loading…
This check uses the selected dialect and default rules. Set rules and dialects in your project.
WASM check and result decoding in (CLI benchmarks) in
Use this check in your project
Use this as your .pre-commit-config.yaml. If you have one, add the entry under repos. Add formatting separately.
Save this to .github/workflows/jsonvet.yml. Add a formatting check separately.
Run this from the file's folder. Install uv to use uvx.
Fix or format from the command line
These commands edit the file. Choose the one you want to run.
The hook and Action check supported filenames by default. Use the command line to check this file by name.