Convert JSON To XML
1 min
Converts a JSON document to XML.
If you have an array to be converted make sure you nest it in a named value before usage like in the example.
API Definition
JSON to XML
Call the following API:
POST
https://orca.pathfix.com/functions/json/toxml
{
"input": {
"record": [
{
"email": "[email protected]",
"source": "facebook",
"other": "test",
"date": "2022-01-25"
},
{
"email": "[email protected]",
"source": "facebook",
"date": "2022-02-12"
},
{
"email": "[email protected]",
"source": "linkedin",
"date": "2022-02-15"
}
]
}
}