JSON to JSON Data Mapping Profile

In this section you will learn how to create a Data Mapping profile that maps over a JSON Object and creates a new JSON Object based on the first objects data.

  1. Create a new Data Mapping profile using the Create New button.
826
  1. Populate the Data Mapping profile:
    General Tab
  • Profile Key: json2json
  • Profile Name: JSON To JSON
  • Source Type: JSON
  • Destination Type: JSON
2832
  1. In the Source Details Tab specify the Starting Point of the JSON object that was passed. In this case we are going to pass a JSON Object with a data property where we will start to map the data and create the new JSON Object.
1762
  1. In the Destination Details Tab select the Output Type as Create JSON Object
1658
  1. Navigate to the Field Mappings Tab and Create a new Field Mapping by clicking on the Create New button.

Field Mappings will contain the Source and Destination Configurations of the JSON Objects.

2354
  1. Populate the Field Mapping Form

General Details

  • Mapping Name: userData

Source Details

  • Attribute Name: name (Property in JSON Object)

Destination Details

  • Attribute Name: firstName (Property in new JSON Object)
1976
  1. Click on the "Ok" button to save the Mapping Profile.
2348
  1. Click the "Submit" button to save and close the Data Mapping Profile.