Skip to main content

Json To Xml

The JSON to XML activity converts JSON data into XML format.

Configuring the Json To Xml Activity

To configure the Json To Xml activity, fill in the required fields in the activity panel.

Configuration

FieldRequiredDescriptionExample
NameRequiredSpecify the name for this activity.MyActivity
DescriptionOptionalSpecify the description for this activity.Reads a file from S3
Pretty PrintOptionalFormats XML with indentation and line breaks for readability
Skip Empty ElementsOptionalExclude elements with empty string values
Skip Empty AttributesOptionalExclude attributes with empty string values
Skip Null ElementsOptionalExclude elements with null values
Skip Null AttributesOptionalExclude attributes with null values

Input

FieldRequiredData TypeDescriptionExample
$schemaOptionalStringReference to this schema
declarationOptionalObjectXML declaration settings
namespacesOptionalObjectNamespace declarations. 'default' key for default namespace, other keys are prefixes.
Json ContentOptionalObject

Output

FieldRequiredData TypeDescriptionExample
Xml DataOptionalString