{ }
开发者工具
YAML to JSON
YAML to JSON 在浏览器中运行,用于检查、转换或准备结果,不会把输入发送到服务器。
开发者工具
Input / output
Processed in browserInput not sent to server
Documents
1
Keys
6
Arrays
1
Scalars
4
Lines
7
YAML syntax looks valid for common config structures.
Structure navigator
rootTree preview
| Path | Type | Preview |
|---|---|---|
| name | string | Online Toolbox |
| services | object | 1 keys |
| services.web | object | 2 keys |
| services.web.image | string | nginx |
| services.web.ports | array | 1 items |
| services.web.ports[0] | string | 80:80 |
| enabled | boolean | true |
JSON output
{
"name": "Online Toolbox",
"services": {
"web": {
"image": "nginx",
"ports": [
"80:80"
]
}
},
"enabled": true
}HelpOpen usage notes, examples, practical tips, and FAQ only when you need them.
What is this tool?
YAML to JSON 是面向开发流程的本地浏览器工具,输入、选项和结果都在同一页面完成。
How to use it
- 粘贴输入
在输入区域输入或粘贴要处理的值。
- 调整选项
选择适合 YAML, JSON conversion, configuration 的模式、格式或单位。
- 检查结果
运行工具,确认结果后再复制或下载。
Examples
YAML to JSON 示例
- Input
- 示例输入
- Output
- 在浏览器中检查后的输出。
Practical tips
- 内容较大时,先从小样本开始。
- 广告会保持在主要控件和结果区域之外。
FAQ
YAML to JSON 应该输入什么?
请输入与页面任务匹配的值,并在运行前调整选项。
可以复制 YAML to JSON 的结果吗?
可以。检查结果后即可复制或下载。
YAML to JSON 支持移动端吗?
支持。输入、选项和结果会在小屏幕上纵向排列。
输入会发送到服务器吗?
不会。该工具设计为在浏览器内处理输入。