Creating or transforming a JSON message by using a message map

You can use the Graphical Data Mapping editor to create or transform a JSON object message or a JSON array message. You can provide the model of your JSON message in a JSON schema file or a REST API swagger document. Alternatively, you can define your JSON data by using the Add User Defined function in the map.

About this task

When you create a message map, you can choose to provide the model of the JSON data from a JSON schema or REST API Swagger document in a supported project container. Alternatively, you can define your JSON data by using the Add User Defined function in the map, or an equivalent XML schema model.

When working with a JSON model, you can use a JSON schema or Swagger document in either JSON or YAML format. You can also use the JSON elements and types to perform mapping casts; for more information, see Casting elements in a message map.

Procedure

Follow the steps in either of the following topics to create or transform a JSON message: