Skip to content

Workspaces and sessions

JSON Digger reopens your tabs when it starts, and a workspace keeps a set of tabs under a name, such as the files of one project, so you can open them again together.

When JSON Digger starts, it reopens the tabs you had open when you last closed it. For each tab, it restores the file, the view, and the open panel, and it restores the active tab and the split view. The tree starts collapsed, and the table’s filters and sort start over.

The session is saved about a second after every change to the tabs, so after a crash it reopens the tabs you had open just before. If JSON Digger closed with unsaved edits, it first offers to recover them. The window’s size, position, and maximized state are saved separately and come back on the next start.

These documents are not reopened: pasted, fetched, and repaired documents, the output of queries, and merged documents. Save them with Save As to keep them.

If a file cannot be reopened, for example because it was moved, a notice says “Could not restore” with its path, and the other tabs open as usual. If the session file itself cannot be read, a notice says so and JSON Digger starts with no tabs.

To save the open tabs as a workspace:

  1. Press Ctrl+Shift+W, or choose File → Workspaces…. You can also select Workspaces on the welcome screen or in the command bar.
  2. Under Save current tabs as, type a name and select Save.

A workspace keeps the same things as a session.

If a workspace with that name exists, JSON Digger asks before replacing it. Names that differ only in spaces or punctuation, such as api tests and api_tests, count as the same name.

To open a workspace, select Restore next to it. Its tabs open beside the tabs already open, and a tab that is already open keeps its place and shows the view and panel the workspace saved. To rename a workspace, select the pencil next to it, type the new name, and press Enter. To remove a workspace, select Delete; the files themselves are not affected.