jp.nvim

command module
v0.0.0-...-6fa9f9a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2023 License: MIT Imports: 7 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL