Convert JSON, YAML, TOML, or XML
convert_data_formatConvert between JSON, YAML, TOML, and XML. Auto-detects the source. Numbers that do not fit in a JavaScript number keep their digits. Errors include a line and column. TOML refuses null and a non-table root.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | json | |
| from | No | auto | |
| text | Yes | The source document. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| line | Yes | ||
| error | Yes | ||
| column | Yes | ||
| output | Yes | ||
| detected | Yes |