jless
is a command-line JSON viewer. Use it as a
replacement for whatever combination of less
, jq
, cat
and your
editor you currently use for viewing JSON files. It is written in Rust
and can be installed as a single standalone binary.
- Clean syntax highlighted display of JSON data, omitting quotes around object keys, closing object and array delimiters, and trailing commas.
- Expand and collapse objects and arrays so you can see both the high- and low-level structure of the data.
- A wealth of vim-inspired movement commands for efficiently moving around and viewing data.
- Full regex-based search for finding exactly the data you're looking for.
- This fork modifies the code to display Unicode directly on the command line, which can be useful if you are exploring non-English textual data stored as json files. Currently, dict keys do not display Unicode.
jless
currently supports macOS and Linux. Windows support is planned.
You can install this version of jless
from source (requires Rust toolchain)
git clone https://github.com/JubilantJerry/jless_unicode.git
cd jless_unicode
cargo install --path .
On Linux systems, X11 libraries are needed to build clipboard access if building from source. On Ubuntu you can install these using:
sudo apt-get install libxcb1-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev
jless.io is the official website for jless
. Code
for the website is contained separately on the
website
branch.
The mascot of the jless
project is Jules the jellyfish.
Art for Jules was created by
annatgraphics
.
jless
is released under the MIT License.