In this section:
You can specify how you want to enter messages from the Input Mode drop-down list in message tools and responders (e.g., Request, Response, Payload). The Form JSON input mode provides a tree view of the JSON message so that you can construct and review JSON messages in a graphical interface. This mode is a JSON-focused version of the Form Input mode.
Building the Tree
If you paste a JSON message into the Literal view, then switch to Form JSON view, the Form JSON view will automatically be populated with the provided values and show a graphical representation of the message.
Additionally, you can build out the tree to reflect the appropriate message structure (i.e., by inserting, removing, copying, and pasting nodes). You can copy and paste into arrays and objects.
You can specify values using the fixed, parameterized, auto, and script options available across the various tree views.
Note that Form Input options which are applicable to JSON are available from this view (with relevant terminology changes, such as null vs nil). This includes populating the entire tree with values in a data source, generating a CSV data source template, replacing specific elements with data source values, etc. For details, see Form Input.
Viewing the Literal JSON
Switching to the Literal view will apply the contents of Form JSON to the Literal view. Right-clicking JSON messages in the Literal view allows you to automatically "beautify" the JSON.