Convert Dictionary to JSON

This action enables you to convert the content of a dictionary variable to JSON format, representing all key-value pairs.

Procedure

  1. In the Dictionary variable field, select the dictionary variable from the drop-down list or create a new dictionary variable.
  2. In the Save the outcome to a variable field, select a string variable or create one to hold the output.
    For more information on how to use some of the JSON actions, see this example topic Build automation using JSON actions.