{"ok":true,"tool":"JSON to CSV Converter","operation":"convert-json-to-csv","description":"Convert a JSON array of objects to CSV.","method":"POST","endpoint":"/api/json-to-csv-converter","webUrl":"https://toolhub-5eo.pages.dev/tools/json-to-csv-converter","parameters":{"type":"object","properties":{"json":{"type":"string","description":"A JSON string or already-parsed value"},"flatten":{"type":"boolean","description":"Flatten nested objects with dot notation (default true)"}},"required":["json"]},"response":{"type":"object","properties":{"csv":{"type":"string"},"rowCount":{"type":"number"},"columns":{"type":"array","items":{"type":"string"}}}},"example":{"request":{"json":"[{\"name\":\"Ada\",\"age\":30},{\"name\":\"Bob\",\"age\":25}]"},"response_shape":{"type":"object","properties":{"csv":{"type":"string"},"rowCount":{"type":"number"},"columns":{"type":"array","items":{"type":"string"}}}}},"howToCall":"POST a JSON body to https://toolhub-5eo.pages.dev/api/json-to-csv-converter. Returns {\"ok\":true,\"result\":{...}} on success or {\"ok\":false,\"error\":\"...\"} on failure. No auth, CORS-enabled.","parametersSummary":"  json (string, required) — A JSON string or already-parsed value\n  flatten (boolean, optional) — Flatten nested objects with dot notation (default true)","curlExample":"curl -X POST https://toolhub-5eo.pages.dev/api/json-to-csv-converter -H \"Content-Type: application/json\" -d '{\"json\":\"[{\\\"name\\\":\\\"Ada\\\",\\\"age\\\":30},{\\\"name\\\":\\\"Bob\\\",\\\"age\\\":25}]\"}'"}