XML

Convert between XML and JSON.

Built inSource

How it fits in a workflow

XML (data.xml) is a built-in data step included with every zerodot server—no package install required. Connect it after a trigger or any earlier step on the canvas.

Supported operations

  • Convert XML to JSON
  • Convert JSON to XML

Options

  • modestring

    xmlToJsonjsonToXml

    Starts as "xmlToJson"

  • valueany

    Starts as "{{ $input }}"

  • attributePrefixstring

    Keys that start with this text are XML attributes

    Starts as "@_"

  • textKeystring

    The key for the text of an element that also has attributes or children

    Starts as "#text"

  • explicitArrayboolean

    Make an array of every child, also when there is one

    Starts as false

  • rootNamestring

    The name of the top element

    Starts as "root"

Guides and related hubs