jnv
interactive JSON viewer and jq filter editor
TLDR
SYNOPSIS
jnv [OPTIONS] [INPUT]
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.
PARAMETERS
INPUT
Path to a JSON file. If omitted or "-", reads from stdin.-c, --config file
Path to a TOML configuration file.--default-filter filter
Default jq filter to apply to input data.--write-to-stdout
Write the current JSON result to stdout when exiting.-h, --help
Print help information.-V, --version
Print version.
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. Supports JSON and JSON Lines input.
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.
