dsh-json-validate
Manifest validJSON Validation and Repair: Locate the row and column of syntax errors, fix comments/trailing commas/single quotes
dsh-json-validate · JSON 校验与修复
校验 JSON 语法并定位错误,自动修复常见格式错误(注释/尾逗号/单引号)。纯 Node 实现。
提供的工具
| 工具 | 作用 |
|---|---|
validate_json | 校验 + 错误定位(行列) |
fix_json | 修复注释/尾逗号/单引号 |
安装
dsh plugin add dsh-json-validate
安装后在 profile 的 package.json 的 dsh.profile.bundles 中加入 "dsh-json-validate"。
用法示例
这段 JSON 报错了,帮我看看哪里有问题
→ 调用 validate_json(text="...")
安装
dsh plugin add github:uckkk/dsh-json-validate
安装即在本机运行第三方代码,请自行审阅源码。
安装
dsh plugin add github:uckkk/dsh-json-validate
使用
安装后在会话中调用该插件注册的工具即可。
许可
MIT
安装即在本机运行第三方代码,请自行审阅源码。
Comments
Loading…
Similar plugins
by uckkk
正则工具:测试匹配/替换/转义
★ 0
MIT
JavaScript
Aug 19, 2026
dsh plugin --profile web add dsh-regexby ZhijiangTang
DSH plugin: JSON/YAML/TOML/SQL formatter with error line/column locations
★ 0
↓ 56/wk
MIT
JavaScript
Aug 16, 2026
dsh plugin --profile web add dsh-fmtby uckkk
JSON 路径查询/设置
★ 0
MIT
JavaScript
Aug 19, 2026
dsh plugin --profile web add dsh-json-queryby jwilson411
DeepSeek Harness plugin: append-only JSONL of filesystem touches (path, op, sha256 before/after) with no file contents
★ 0
MIT
JavaScript
Sep 1, 2026
dsh plugin --profile web add dsh-mutation-receiptby uckkk
修剪指南
★ 0
MIT
JavaScript
Aug 20, 2026
dsh plugin --profile web add dsh-prune-guideby Chi-hong22
DeepSeek Harness Web composer markdown editing helper: Shift+Enter list continuation with ordered-list auto-renumbering and Tab indent
★ 0
MIT
JavaScript
Aug 14, 2026
dsh plugin --profile web add @chi-hong22/dsh-mdbox