语言
/v1/yaml/to-yaml
将 JSON 对象转换为具有干净缩进的 YAML 文档。 对于从结构化数据生成配置文件很有用。
The JSON object to convert to YAML.
curl -X POST https://api.botoi.com/v1/yaml/to-yaml \ -H "Content-Type: application/json" \ -d '{"data":{"name":"botoi","version":"2.1.0","features":["hashing","uuid"]}}'
从 JSON API 响应或数据库记录生成用于 Ansible、Helm 或 Docker Compose 等部署工具的 YAML 配置文件。
将 JSON 示例转换为 YAML 格式,以获取针对喜欢 YAML 语法的受众的文档。
Free tier includes 5 requests per minute with no credit card required. Upgrade for higher limits.