Formatting a JSON message

If the received message contains a JSON string, you can apply the JSON format so that the contents of the message is easy to understand.

Before you begin

You must have completed the following tasks:
  • Created a test for any message exchange pattern.
  • Opened the received message for editing.

Procedure

  1. Observe if the message text string is based on the JSON schema.
  2. Double-click the text node.
    The Field Editor is displayed.
  3. Right-click within the Value field.
  4. Select the Format JSON option.
    The values in the Value filed are formatted.
  5. Click OK.
    The message editor displays the formatted values in the Value column.