{"usage":"GET /api?xml=<urlencoded xml>  |  GET /api?json=<urlencoded json>  |  POST /api {\"xml\":\"...\"} or {\"json\":{...},\"root\":\"catalog\",\"indent\":2}","params":{"xml":"XML document → converts to JSON (attributes as @keys, repeated elements as arrays, #text for mixed content)","json":"JSON value (object) → converts to XML","root":"JSON→XML root element name, default \"root\"","indent":"JSON→XML indent 0-8, default 2 (0 = minified)"},"example":"curl \"https://xml-json-formatho.filesformatho.workers.dev/api?xml=%3Croot%3E%3Citem%3Ehello%3C/item%3E%3C/root%3E\""}