{"name":"json-yaml","description":"JSON to YAML and YAML to JSON converter / format transcoder / config-file translator / Helm values prepper / Kubernetes manifest converter / GitHub Actions workflow YAML helper / round-trip parser. Auto-detects input format from the first non-whitespace byte ('{'/'[' = JSON, otherwise YAML), parses, and re-serialises in the requested target format. Pretty-print and indent are configurable. Pure parse — no upstream API call, deterministic output.","price":"$0.002","method":"POST","input_schema":{"properties":{"input":{"type":"string","description":"JSON or YAML source text. Format is auto-detected when 'to' is 'auto' or omitted."},"to":{"type":"string","enum":["json","yaml","auto"],"description":"Target format. 'auto' converts to the opposite of the detected input. Default 'auto'."},"pretty":{"type":"boolean","description":"Pretty-print JSON output (2-space indent by default). Ignored when target is YAML. Default true."},"indent":{"type":"number","description":"Indent width in spaces (1-8). Default 2."}},"required":["input"]},"input_example":{"input":"{\"name\":\"alice\",\"age\":30}","to":"yaml"},"output_example":{"detected_format":"json","target":"yaml","output":"name: alice\nage: 30\n","output_chars":20,"parsed":{"name":"alice","age":30}},"x402_payment_required":true,"x402_facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}