fittings-fmt-xml-to-json
Installation
SKILL.md
XML to JSON
fmt.xml-to-json on https://fittings.sh. One endpoint, deterministic compute.
Convert an XML document to an ordered JSON tree with resolved namespaces, attributes, CDATA and mixed content preserved.
The call
POST https://fittings.sh/v1/fmt/xml-to-json
| Field | Type | Required | Notes |
|---|---|---|---|
xml |
string | yes | XML document, up to 1000000 characters and 50000 nodes |
preserveWhitespace |
boolean | no | Keep whitespace-only text nodes. Default false |
Example input: