2018.1

Table Of Contents
Converting XML to JSON and JSON to XML
XML is already one of the most popular data formats used with Connect. In many
implementations, most notably web-based ones, XML is used to transfer or update information
back and forth between Connect and Workflow. However, using XML means the DataMapper
must be involved each time the data changes, which impacts performance, especially when all
you want is to update a Status web page. With the new functionalities added to all Content
Creation tasks allowing them to receive JSON as the data container, it is only natural that
Workflow provide an easy way of converting data between JSON and XML formats.
The new task is simple to use: pick a destination format (XML or JSON) and the job file is
immediately converted to that format. No scripting required! (SHARED-51089)
Note
The JSON data can be used in other settings as well, not just for creating Connect
content. For instance, converting a HTTP Request to JSON would allow a script to easily
turn that JSON into an object and manipulate its properties with much more readable
syntax than using ExpandString() on data selections.
Page 1283