Status Bar JsonPath
Sublime Text plugin to get the JSONPath under the cursor in a JSON
Details
Installs
- Total 2K
- Win 756
- Mac 1K
- Linux 237
| Nov 5 | Nov 4 | Nov 3 | Nov 2 | Nov 1 | Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | Sep 21 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 1 | 0 | 1 | 0 | 1 | 1 | 2 | 2 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 3 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 2 | 1 | 0 |
| Mac | 1 | 1 | 2 | 0 | 3 | 1 | 2 | 0 | 3 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 | 0 | 0 | 0 | 0 | 3 | 0 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 2 | 1 | 1 |
| Linux | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 3 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
StatusBarJsonPath
Sublime Text plugin to get the JSONPath (a notation to access the item) under the cursor in a JSON.
The plugin also includes a command JSONPath: Copy to copy the displayed path to the clipboard.
Example
Given the following JSON object:
{
"name": "Hello World",
"tags": [
"example"
],
"metadata": {
"author": "Alex Kirk"
}
}
In this scenario the plugin will display/copy the following JSONPaths (all directly queryable in jq for matching results):
- Cursor inside “name”:
.name - Cursor inside “Hello World”:
.name - Cursor inside “tags”:
.tags - Cursor inside “example”:
.tags[0] - Cursor inside “metadata”:
.metadata - Cursor inside “author”:
.metadata.author
Demo

Installation
On PackageControl it's called Status Bar JsonPath: https://packagecontrol.io/packages/Status%20Bar%20JsonPath
- Run
Package Control: Advanced Install Package - Enter
Status Bar JsonPath
You can also install the package manually like this:
- Click the Preferences >Browse Packages… menu, this should open a folder
Packages. - Download https://github.com/akirk/StatusBarJsonPath/archive/refs/heads/main.zip and extract it into that directory (it should then have a subfolder
StatusBarJsonPath-main). - Restart Sublime Text.