Skip to main content Skip to complementary content

Creating an output structure with key/value pairs

Create a structure containing an element with a Map group type.

Procedure

  1. In the Data Mapper tab, expand the Hierarchical Mapper node and right-click Structures.
  2. Click New > Structure.
  3. In the wizard that opens, select Create a new structure where you manually enter elements and click Next.
  4. Select a folder and enter a name for your structure, then click Next.
  5. Select a representation, JSON in this example, and click Finish.
    An empty structure is created, you can create its elements.
  6. Right-click the section on the left of your workspace and click New Element to create a root element, and keep the default properties.
  7. Right-click the root element to create a new child element named items.
  8. In the items element's parameters, change the value of the Group Type parameter to Map.
  9. Create two child elements in the value element, named name and description.
  10. Save your structure.

Results

Your structure looks like this:
A Data Mapper structure containing a root element, an items element with the group type map in the root element, an entry loop in the items element, a key element and a value element in the entry loop, and a name element and a description element in the value element.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!