x402
XML to JSON (x402)
Parse XML string to JSON. Preserves attributes (as @attr), handles CDATA, auto-types values. Algorithmic.
get/x402/v2/xml-to-json
Request
- Base URL: https://api.strale.io
- URL: https://api.strale.io/x402/v2/xml-to-json
- Auth: none required
Query parameters
xml_stringstring required
Response
Success
Example response
{
"json": {
"root": {
"item": "test"
}
},
"root_element": "root",
"element_count": 2,
"attributes_preserved": false
}Changes
No recorded changes to this operation across all 1 revision of this API.