A Sublime Text 3 plugin that digs through deep JSON objects so you don't have to!
Given a value in an arbitarily nested JSON object, Spelunker will return the path to that value as a lodash chain.
-
Have a properly formatted JSON object in a ST3 tab.
-
Highlight the value you want to retrieve the path to (for now, the path must be a string--if it's an int or bool, just throw "'s around it). Do not highlight the " " marks. Use the keyboard shortcut cmd+shift+s or right-click on the value and select "spelunker" from the menu.
-
The lodash-formatted path is now in your clipboard.
Clone this repo into /Users/{username}/Library/Application Support/Sublime Text 3/Packages/
Eventually this will be a proper ST3 package.