Jsonlint
/install jsonlint
JSONLint
A real JSON linter and toolkit for the terminal. Validate syntax, pretty-print, minify, compare files, list keys, and extract values by path — all powered by python3.
Commands
| Command | Description |
|---|---|
jsonlint validate \x3Cfile> |
Check JSON syntax — reports type, element count, file size, and shows error context on failure |
jsonlint format \x3Cfile> |
Pretty-print JSON with 4-space indentation |
jsonlint minify \x3Cfile> |
Compact JSON (remove all whitespace), shows bytes saved |
jsonlint diff \x3Cfile1> \x3Cfile2> |
Deep structural comparison of two JSON files — shows added, removed, and changed values with dot-paths |
jsonlint keys \x3Cfile> |
List all top-level keys with types and value previews |
jsonlint extract \x3Cfile> \x3Cpath> |
Extract a value by dot-path (e.g. config.database.host), supports array indices like items[0] |
Requirements
python3(usesjsonstdlib module)
Examples
# Validate a config file
jsonlint validate config.json
# Pretty-print API response
jsonlint format response.json
# Minify for deployment
jsonlint minify package.json
# Compare two versions
jsonlint diff old.json new.json
# List what's in a JSON file
jsonlint keys data.json
# Dig into nested values
jsonlint extract config.json database.host
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install jsonlint - After installation, invoke the skill by name or use
/jsonlint - Provide required inputs per the skill's parameter spec and get structured output
What is Jsonlint?
Validate and pretty-print JSON files from the terminal. Use when linting config files, formatting API payloads, checking syntax before deployment. It is an AI Agent Skill for Claude Code / OpenClaw, with 329 downloads so far.
How do I install Jsonlint?
Run "/install jsonlint" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Jsonlint free?
Yes, Jsonlint is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Jsonlint support?
Jsonlint is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Jsonlint?
It is built and maintained by bytesagain3 (@bytesagain3); the current version is v3.0.0.