dsh-json-validate
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
Related Plugins
Free web search plugin for DeepSeek Harness with web search, X search, and page fetch; no signup or API key required, with automatic multi-engine failover.
AnySearch-powered web and vertical search plugin for DeepSeek Harness, offering real-time search, cleaned URL content, concurrent batch search via native web_search/web_fetch, no API key required.
Pixel-perfect webpage clone tool that uses an agent harness to turn any webpage into a scored, full-page React replica.
A bilingual cost-tracking plugin for DeepSeek Harness with session/daily cost, budget, official & custom provider balance, coding plan quotas, peak/off-peak pricing alerts, and history stats.