Write formatted JSON with the Architect JSON literal editor
Set JSON values by using the JsonParse or ToJson function in expression mode or by inputting JSON data directly into the JSON literal editor.
For a JSON type variable, for example, in an Update Data action and after you select to use JSON, click Click to add JSON literal value. The JSON Editor pane opens. Then, add your JSON data directly in the editor.
Valid JSON types
The JSON literal editor accepts these types:
- String: Surrounded by double quotes
- Number: Integer or decimal value
- Boolean: Lower-case, no quotes required
- Array: Can contain values of any type on this list
- Object: Can contain values of any type on this list. Keys must be surrounded by double-quotes.
If the JSON literal editor determines that the text is invalid, a validation error appears. In some cases, the error contains positional information, which indicates at what character the validation fails. If your error contains a position number, click the message to move your cursor to the error. You can save while your JSON literal value is in error, however doing so adds validation errors to the flow and prevents you from publishing it.