LinuxCommandLibrary

jnv

Interactive JSON filter using jq

TLDR

Open a JSON file for interactive filtering
$ jnv [path/to/data.json]
copy
Filter JSON from stdin
$ cat [path/to/data.json] | jnv
copy
Open with an initial filter
$ jnv -f '.[0]' [path/to/data.json]
copy

SYNOPSIS

jnv [-f filter] [file]

DESCRIPTION

jnv is an interactive JSON viewer and jq filter editor. It provides a split-pane interface with a filter editor at the top and a syntax-highlighted JSON view below that updates in real time as you type your jq filter. Inspired by jid and jiq, jnv uses jaq internally to apply filters, eliminating the need to install jq separately.
The tool supports JSON files and JSON Lines input, configurable UI through TOML configuration, hint message toggling, and adjustable reactivity including debounce times.

CAVEATS

Uses jaq (not jq) internally, so some advanced jq features or edge cases may behave differently. Large JSON files may impact responsiveness of the live preview.

HISTORY

jnv was created by ynqa and is written in Rust. It was designed to provide a more polished and self-contained interactive JSON exploration experience compared to earlier tools like jid and jiq.

SEE ALSO

jq(1), jaq(1), fx(1), jiq(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard