Categories


Popular topics

The JSON manager is a dockable window in UltraEdit which provides a parsed, visual, tree-style representation of the active JSON file with options for modifying the JSON structure.

Double-clicking on an item in the JSON manager will move the caret to the related JSON node in the active file. Pressing Shift + Double-click with the cursor on a node will select the text corresponding with that node in the active file. Expanding a node in the JSON manager will also cause the corresponding source code to be expanded in the editor if folded.

The 📂 button at the upper right corner of the window will split the JSON manager into two panes; the upper pane will display the active JSON file structure tree while the lower pane will display a table with a Key and Value column. When a node is selected in the top pane, it will be scanned for subkeys, and any found are listed in lower pane along with their values.

If a node or value is selected, after a momentary delay you can click a second time to make it editable. When editing an element in the JSON manager, you can press Enter to save the change to the JSON, and UltraEdit will update the corresponding text in the active file.

The combobox at the top of the JSON manager can be used to navigate quickly within the JSON tree of the active file. Typing a key or value and then pressing Enter will jump to and select the first matching node.

You can also drag-and-drop nodes in the JSON manager to reposition them in the active file's JSON structure. You can only reposition a node in this way by dragging and dropping it on a new parent node. As you drag-and-drop nodes, the corresponding text in the active file will be moved accordingly.

The JSON manager will always highlight the current/active node under the caret in the main edit window.

Right-clicking in the JSON manager opens a context menu with the following options:

Copy Copies the selected node to the clipboard
Select Selects the active node in the document tree
Expand all Expands all nodes in the JSON manager (does not affect folded code in edit window)
Collapse all Collapses all nodes in the JSON manager (does not affect folded code in edit window)
Use this key as object identifier Right-click on a key and select this to set the key as the main identifier for each object in the JSON file - for example, a key named "id" that is the unique identifier for each node. If selected, the key and value will be displayed for each parent object in the JSON manager.
Paste before Pastes the node in the clipboard before the active node
Paste after Pastes the node in the clipboard after the active node
Duplicate Duplicates the selected node below the active node in the document tree
Format document Adjusts indentation of active JSON document
Compress document Reformats active document to single line format
Parse document Parses active JSON document and updates JSON document tree
Replace with clipboard Replaces the selected node with the contents of the clipboard
Cut Cuts the selected node to the clipboard
MediaWiki spam blocked by CleanTalk.