Key Capabilities
- Bidirectional JSON to XML conversion with automatic format detection
- Minimal configuration required (the connector typically works with the default configurations)
- Configurable attribute prefixes and text property handling for accurate translations
- Custom formatting options including minification and root element naming
- Type conversion support with JSON type annotations for precise data handling
Overview
The JSON connector enables conversion between JSON and XML without requiring much configuration. The connector automatically detects whether input files are JSON or XML, and then the connector translates the file to the other format. The connector supports configurable syntax for distinguishing attributes and ensuring that the output is valid XML or JSON.Connector Settings
This section contains all of the configurable connector properties.Settings Tab
Connector Settings
Settings related to the core operation of the connector.Other Settings
Advanced Tab
Message
Logging
Other Settings
Miscellaneous
Automation Tab
Automation Settings
Settings related to the automatic processing of files by the connector.Performance
Alerts Tab
SLAs Tab
Macros
Examples
Conversion Examples
Examples of converting between XML and JSON with the JSON connector are below.XML to JSON
XML input:JSON to XML
JSON input:JSON Type Conversions
When converting from XML to JSON, the connector treats all XML elements as strings except in two cases:- If the connector detects multiple elements or values in the same XML structure in the XML input, it treats them as an array.
- If you apply an XML attribute to specify the JSON output format, this attribute overrides the default string behavior. These attributes are listed in the table below.