Jump to a path or line
Go to a path
Section titled “Go to a path”To go to a node whose path you know, for example $.config.database.port, use Go to Path in the Tree view.
- Press Ctrl+P, or choose Search → Go to Path.
- Type part of the path, for example
database.port. The list shows the paths that contain what you typed, with their type. - Select a path with the arrow keys and press Enter, or click it.
The tree expands to the node and selects it. Press Esc to close the list without moving. If nothing matches, the list says “No matching paths”.
Paths are written as JSON Digger copies them, starting with $; see Copy values and paths. The list looks at the first levels of the document. To find a node by its key or value anywhere, search for it.
Go to a line
Section titled “Go to a line”In the Text view of a plain text file, press Ctrl+G or choose Search → Go to Line. Type a line number between 1 and the number shown in the dialog, and press Enter.
In an NDJSON file, click a line in the NDJSON view to show its record in the tree.