工作原理
YAML ↔ JSON Converter — Convert between YAML and JSON in either direction. 所有处理都在您的浏览器中进行 — 无需上传、无需注册、无需邮箱。永久免费。
常见问题
锚点和别名会被保留吗?
YAML → JSON 转换时,锚点/别名会解析为其引用的值(JSON 没有锚点概念)。反方向输出不含锚点的纯 YAML。
如何处理日期和特殊类型?
我们使用 YAML 1.1 默认 schema。YAML 中解析的日期在 JSON 中以 ISO-8601 字符串输出。布尔值、数字和 null 作为原生 JSON 类型保留。
我的数据会被上传吗?
不会。两个方向都在浏览器中通过 js-yaml 运行——不会向任何地方发送。
相关工具
- URL Encoder/DecoderPercent-encode and decode URI components and full URLs
- UUID GeneratorGenerate cryptographically random UUID v4 in bulk
- JWT DecoderDecode and inspect JSON Web Tokens (header, payload, expiry)
- Regex TesterTest regular expressions with live match highlighting
- Cron Expression BuilderBuild and explain cron expressions in plain language
- SQL FormatterBeautify, minify or format SQL queries for any major dialect