AI Agent Hub
Back to plugins
🧰

dsh-json-validate

Web Tools Updated 2026.08.19

Run the following command in DeepSeek Harness:

dsh plugin install uckkk/dsh-json-validate

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install uckkk/dsh-json-validate in the DeepSeek Harness terminal to install this plugin; source code is available at https://github.com/uckkk/dsh-json-validate .

About this plugin

Hand-written, concatenated, or API-returned JSON can easily trip a parser with a single comment, trailing comma, or single quote, and the typical error message offers little more than a character offset, making diagnosis tedious. dsh-json-validate splits the job into two focused tools: validate_json returns the exact line and column of the first syntax error in milliseconds so you see the problem at a glance, while fix_json strips out the three most common formatting flaws and yields a clean, valid JSON string.

Built entirely in Node.js with zero runtime dependencies, the plugin is lightweight enough to drop into a CI pipeline, a build script, or an AI-agent workflow as a quick JSON gatekeeper. If you deal with semi-structured data regularly and do not want to maintain a heavyweight validator, install it and call the two tools in-session to resolve most JSON debugging tasks in seconds.

Use Cases

  • Validate JSON config files in a CI pipeline for instant pass or fail
  • Let an AI agent self-check generated JSON and auto-fix common syntax slips
  • Pinpoint the exact line and column of a JSON syntax error during API response debugging

Best For

  • Backend or frontend developers who handle semi-structured data daily
  • AI agent builders who need a zero-dependency JSON quality gate
  • DevOps engineers adding a lightweight JSON check to their CI/CD pipeline