XML to JSON

The XML to JSON Data Operation converts a Text value containing XML to JSON. It is commonly used if an API returns XML, because most operations in Airkit (such as AirData) use JSON.

organizing info

Use Cases

  • Take an XML response from a SOAP API and convert it to JSON
  • Take HTML input and convert it to JSON to easily log or manipulate it

Data Operation Properties

Input Value

A Variable in the current Data Flow. This Variable must be of Text type. The input must be well-formed XML. See Mozilla's XML Introduction.

Run Results

An automatically created Variable to hold the result of this Operation.