json-validator
验证并修复 JSON 数据
损坏的 JSON 会阻碍 API 测试和配置工作。此技能可验证、格式化、修复、转换并解释 JSON 问题,同时提供清晰指导。
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "json-validator" from https://skillstore.io/skills/alon2904-json-validator.md and its manifest at https://skillstore.io/api/skills/alon2904-json-validator/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“json-validator”。 一个包含尾随逗号和单引号值的设置文件。
预期结果:
报告两个语法错误,解释严格的 JSON 规则,并描述修正后的版本。
正在使用“json-validator”。 一个包含嵌套数组和元数据字段的压缩 API 响应。
预期结果:
返回可读的格式化方案,并总结对象形状、数组大小和嵌套深度。
正在使用“json-validator”。 一个需要从 JSON 转换为 CSV 的客户导出请求。
预期结果:
解释应如何扁平化嵌套值,并标记需要人工映射决策的字段。
安全审计
安全All 27 static alerts are false positives caused by Markdown code fences, JSON comments, or ordinary explanatory wording. The skill contains no command execution, system reconnaissance, prompt injection, or other harmful intent.
风险因素
⚙️ 外部命令 (21)
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/alon2904-json-validator/audits/9?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/alon2904-json-validator?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/alon2904-json-validator?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/alon2904-json-validator/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/alon2904-json-validator.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学术引用 (APA · BibTeX · CFF)
APA 引用
Alon2904. (2026). json-validator security audit report (audit version 9) [Author version unspecified]. Skillstore. https://skillstore.io/skills/alon2904-json-validator/audits/9BibTeX 引用
@techreport{alon2904-alon2904-json-validator-2026,
author = {Alon2904},
title = {json-validator security audit report (audit version 9)},
institution = {Skillstore},
year = {2026},
number = {9},
url = {https://skillstore.io/skills/alon2904-json-validator/audits/9},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "json-validator security audit report (audit version 9)"
version: "unspecified"
type: report
authors:
- name: "Alon2904"
date-released: "2026-07-23"
url: "https://skillstore.io/skills/alon2904-json-validator/audits/9"
identifiers:
- type: other
value: "skillstore:alon2904-json-validator:audit:9"
description: "Skillstore immutable audit report identifier"
Skillstore 评分
评分依据 证据置信度: 高你能构建什么
修复 API 测试 Payload
在开发者重复执行 API 测试之前,查找请求或响应正文中的语法问题。
审查配置文件
在部署前验证配置数据,并解释严格的 JSON 规则。
准备数据样本
格式化并检查共享的 JSON 样本,使分析师能够理解字段和嵌套结构。
试试这些提示
检查此 JSON 是否存在语法错误。使用行引用解释每个问题,并建议最小的安全修复:[paste JSON]
使用两个空格缩进格式化此 JSON。保留所有值,并告诉我是否有任何语法问题会阻止格式化:[paste JSON]
分析此 JSON 结构。总结顶层类型、键名、值类型、数组大小和嵌套深度:[paste JSON]
将此 JSON 转换为 [target format]。保留数据类型,标记有歧义的字段,并注明需要人工审核的内容:[paste JSON]
最佳实践
- 在格式化或转换内容之前先验证语法。
- 在更改键顺序、删除注释或重写结构之前先询问。
- 保留数据类型,并指出不确定的转换。
避免
- 不要假设带注释或尾随逗号的 JSON 是有效的严格 JSON。
- 未经用户批准,不要排序键或删除字段。
- 当小样本足够时,不要粘贴密钥或完整生产 payload。