jnv-0.1.1 is not a library.
jnv
jnv is designed for navigating JSON,
offering an interactive JSON viewer and jq filter editor.
Features
- Interactive JSON viewer and
jqfilter editor- Syntax highlighting for JSON
- Accept JSON from stdin, file, URL
- Auto-completion for the filter
- Only supports:
- Hint message to evaluate the filter
Installation
Homebrew
Cargo
Requirements
[!NOTE] jnv does not require users to install
jqon their system, because it utilizes j9 Rust bindings.
Examples
|
Or
Keymap
| Key | Action |
|---|---|
| Ctrl + C | Exit jnv |
| Tab | jq filter auto-completion |
| ← | Move the cursor one character to the left |
| → | Move the cursor one character to the right |
| Ctrl + A | Move the cursor to the start of the filter |
| Ctrl + E | Move the cursor to the end of the filter |
| Backspace | Delete a character of filter at the cursor position |
| Ctrl + U | Delete all characters of filter |
| ↑, Ctrl + K | Move the cursor one entry up in JSON viewer |
| ↓, Ctrl + J | Move the cursor one entry down in JSON viewer |
| Ctrl + H | Move to the last entry in JSON viewer |
| Ctrl + L | Move to the first entry in JSON viewer |
| Enter | Toggle expand/collapse in JSON viewer |
| Ctrl + P | Expand all folds in JSON viewer |
| Ctrl + N | Collapse all folds in JSON viewer |
Usage
|
)