YAML 转 JSON
将 YAML 文档转换为 JSON,用于 API 和 JavaScript 应用。
输入
结果
使用方法
Converting YAML to JSON
Press Convert to serialise the parsed YAML as JSON.
- Paste YAML into the input editor.
- Press Convert.
- Copy the JSON output.
常见问题
How many documents are converted?
The first document in a multi document stream is converted.
Are numeric keys supported?
Yes, keys are converted to strings because JSON requires string keys.