Language
/v1/yaml/to-json
Parse a YAML string and return the equivalent JSON representation. Handles nested structures, arrays, anchors, aliases, and multi-line strings.
The YAML string to convert.
curl -X POST https://api.botoi.com/v1/yaml/to-json \ -H "Content-Type: application/json" \ -d '{"yaml":"name: botoi\nversion: 2.1.0\nfeatures:\n - hashing\n - uuid"}'
Convert Kubernetes YAML manifests to JSON for programmatic manipulation, validation, or feeding into kubectl with --output=json.
Convert GitHub Actions or CircleCI YAML configs to JSON when migrating to tools that expect JSON input.
Free tier includes 5 requests per minute with no credit card required. Upgrade for higher limits.