jless — a command-line JSON viewer

JLess is a command-line JSON viewer designed for reading, exploring, and searching through JSON data.

JLess will pretty print your JSON and apply syntax highlighting. Use it when exploring external APIs, or debugging request payloads.

Expand and collapse Objects and Arrays to grasp the high- and low-level structure of a JSON document. JLess has a large suite of vim-inspired commands that make exploring data a breeze.

JLess supports full text regular-expression based search. Quickly find the data you're looking for in long String values, or jump between values for the same Object key.

Installation

The latest JLess releases are available on GitHub. Jless currently supports macOS and Linux.

$ curl -OL https://github.com/PaulJuliusMartinez/jless/releases/download/v0.7.1/jless-v0.7.1-x86_64-apple-darwin.zip $ unzip jless-v0.7.1-x86_64-apple-darwin.zip $ ./jless data.json
$ curl -OL https://github.com/PaulJuliusMartinez/jless/releases/download/v0.7.1/jless-v0.7.1-x86_64-unknown-linux-gnu.zip $ unzip jless-v0.7.1-x86_64-unknown-linux-gnu.zip $ ./jless data.json

If you have a Rust toolchain installed, you can also install directly from source using cargo:

$ cargo install jless

Check out the user guide to learn about the full functionality of JLess.