Convert local XML and JSON
abox_xml_jsonConverts XML to JSON or JSON to XML in local files using attribute, text, and repeated-child mappings, reporting lossy conversions while refusing ambiguous names, DTDs, and custom entities.
Instructions
Convert XML to JSON using @ attributes, #text and repeated-child arrays, or JSON to XML under a fixed root element. Verifies the exact existing source mapping, which is lossy: XML values are strings, mixed child/text order and comments can be lost, and JSON null/empty containers collapse. Refuses ambiguous name collisions, DTDs and custom entities. Contents remain in the local output. Requires no browser.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| indent | No | 2 | |
| direction | Yes | ||
| input_path | Yes | Absolute local filesystem path. URLs and network shares are refused. | |
| output_path | Yes | Absolute local filesystem path. URLs and network shares are refused. |