sponsor Vim development Vim logo Vim Book Ad

jsonpath : Navigate JSON documents using dot.notation.paths

 script karma  Rating 25/9, Downloaded by 623  Comments, bugs, improvements  Vim wiki

created by
Victor Hallberg
 
script type
utility
 
description
Provides the :JsonPath command which does two things:
:JsonPath - Echoes the path to the identifier under the cursor.
:JsonPath path.to.prop - Searches the active buffer for the given path, placing the cursor on it if found.

Bug reports, feature requests, patches and other feedback is appreciated and can be posted to GitHub:
https://github.com/mogelbrod/vim-jsonpath
GitHub is also where you are guaranteed to find the latest version.
 
install details
The recommended way to install this plugin is using Vundle, pathogen.vim or another Vim package manager.
If you do not wish to use any of them, simply extract the archive to ~/.vim (~\vimfiles on Windows).
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-jsonpath-0.5.2.zip v0.5.2 2020-06-16 8.0 Victor Hallberg - Avoid error if from_line is less than 1
- Avoid printing goto() outcome on the same line as input
vim-jsonpath-0.5.0.zip v0.5.0 2020-06-05 7.0 Victor Hallberg New recommended mapping syntax + parser fixes
vim-jsonpath-0.4.1.zip v0.4.1 2020-06-04 7.0 Victor Hallberg Fixed parsing bugs + enables range support for the JsonPath command.
vim-jsonpath-0.3.0.zip v0.3.0 2020-05-18 7.4 Victor Hallberg Add an optional python implementation of the existing JSON scanning algorithm. Using it greatly reduces scanning time (~0.5s vs 19.5s for a 330kb json file).
vim-jsonpath-0.2.0.zip v0.2.0 2019-07-29 7.0 Victor Hallberg Add g:jsonpath_register option allowing automatic yanking of path to a register when calling :JsonPath (or jsonpath#echo())
vim-jsonpath-master.zip 0.1.0 2018-07-10 7.0 Victor Hallberg Initial upload
ip used for rating: 100.24.125.162

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
OSDN