Skip to content

kit494way/jp.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jp.nvim

jp.nvim is an interface to JMESPath, an expression language for manipulating JSON.

Requirements

  • Neovim 0.9.1 or higher
  • Go 1.20 or higher

Installation

Using packer.nvim,

use {
  'kit494way/jp.nvim',
  run = 'go build',
}

Usage

Open a JSON file and execute :JP query.

For example, open a JSON file with the following contents,

{
  "foo": 1,
  "bar": [2, 3]
}

and execute the command :JP foo. The following result will be displayed in a scratch buffer.

1

For more information on JMESPath, please see here.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published