Skip to content
English

JSON editor

The same JSON editor is used wherever you write JSON in the desktop app:

Click Format JSON at the top right of the editor, or press the shortcut (Shift+Option+F, or Shift+Alt+F on Windows and Linux), to indent the JSON with 2 spaces. If the JSON is invalid, it’s left as it is and a message says so.

Click Search, or press Cmd+F (Ctrl+F on Windows and Linux), to find text in the editor. Press Cmd+R (Ctrl+R on Windows and Linux) to open it with the replace box focused. Press Enter or Shift+Enter to move to the next or previous match, and press Esc to close it.

Match case, Use regular expression and Match whole word change how the text is matched. Replace changes the current match, and Replace all changes every match.

Type {{ to pick a variable from the active environment. References to variables are highlighted. Variables can’t be used in View as JSON.

Action macOS Windows and Linux
Format Shift+Option+F Shift+Alt+F
Find Cmd+F Ctrl+F
Replace Cmd+R Ctrl+R
Suggest a variable Ctrl+Space Ctrl+Space
Indent or outdent Tab or Shift+Tab Tab or Shift+Tab
Undo Cmd+Z Ctrl+Z
Redo Cmd+Shift+Z Ctrl+Y
Fold or unfold Cmd+Option+[ or ] Ctrl+Shift+[ or ]
Move a line up or down Option+Up or Down Alt+Up or Down
Copy a line up or down Shift+Option+Up or Down Shift+Alt+Up or Down

Nothing is sent while you type. Your changes apply when you click the panel’s button, such as Dispatch, Call, Send to device or Save. While the JSON is invalid, the problem is shown under the editor and the button is disabled. In Commands, Run shows the problem instead of running.

View as JSON has no button: your changes apply when you click out of the editor, if the JSON is valid.