json_to_yaml
Convert JSON objects to YAML for Kubernetes, Docker Compose, and CI/CD configs. Set indentation and inline depth to control the output format.
Instructions
Convert a JSON object to YAML format. Useful for generating Kubernetes configs, Docker Compose files, and CI/CD pipeline definitions from JSON data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | Yes | JSON content to convert | |
| indent | No | Indentation spaces: 2, 4, or 8 (default: 2) | |
| inline_level | No | Depth for inline notation (default: 10, higher = more expanded) |