{"ok":true,"result":{"slug":"toml-json-converter","name":"TOML to JSON Converter","summary":"Convert TOML to JSON or JSON to TOML (TOML 1.0). TOML dates become ISO 8601 strings in JSON; notes explain anything that can't be represented exactly.","description":"Convert TOML to JSON and JSON to TOML in your browser. Shows the line and column of syntax errors, keeps dates as ISO strings and explains what TOML cannot hold.","method":"POST","endpoint":"/api/v1/tools/toml-json-converter","plan":"free","mcpName":"toml_json_converter","input":{"type":"object","additionalProperties":false,"properties":{"input":{"type":"string","description":"The TOML or JSON text.","maxLength":200000},"to":{"type":"string","description":"Target format.","enum":["json","toml"],"maxLength":200000},"indent":{"type":"integer","description":"Spaces per indent level for JSON output (0 for a single line).","default":2,"minimum":0,"maximum":8},"convertDates":{"type":"boolean","description":"When converting to TOML, turn ISO 8601 date strings into TOML dates.","default":false}},"required":["input","to"]},"example":{"input":"[server]\nhost = \"0.0.0.0\"\nport = 8080\n\n[database]\nurl = \"postgres://localhost/app\"\npool = 5","to":"json"},"randomOutput":false,"network":false,"docs":"https://pithlab.com/developers/tools/toml-json-converter","page":"https://pithlab.com/tools/toml-json-converter"}}