#json #edit #view #command-line-tool #file

app jedit

Command-line tool to view and edit large JSON file

5 releases

Uses new Rust 2024

0.1.4 May 13, 2025
0.1.3 May 12, 2025
0.1.2 May 11, 2025
0.1.1 May 10, 2025
0.1.0 May 10, 2025

#252 in Parser implementations

Download history 401/week @ 2025-05-08 50/week @ 2025-05-15

451 downloads per month

MIT license

165KB
4.5K SLoC

Jedit

CI Dependabot Latest Release License: MIT

Jedit is a command-line tool to view and edit large JSON file directly within your terminal.

screenshot

Installation

To install Jedit, ensure you have Rust installed, then run:

cargo install jedit --locked

or, to build from source:

git clone https://github.com/aguss787/jedit.git
cd jedit
cargo build --release

Usage

$ jedit --help

View and edit JSON file

Usage: jedit [OPTIONS] <INPUT>

Arguments:
  <INPUT>  JSON file to edit

Options:
  -o, --output <OUTPUT>  Output file to write to. Defaults to overwrite the input file
  -h, --help             Print help
  -V, --version          Print version

Keybind

Key Action
q Exit
k / Up Up
j / Down Down
l / Enter / Space Expand
Ctrl + u Up 10
Ctrl + d Down 10
g Move to top
G Move to bottom
h Close
p Toggle preview
e Edit value
r Rename key
d Delete key
a Append key
w Save
K Preview up
J Preview down
Ctrl + U Preview up 5
Ctrl + D Preview down 5
H Preview left
L Preview right
Ctrl + Left Preview window bigger
Ctrl + Right Preview window smaller

Missing feature

  • Custom keybind
  • Search
  • Inline key operation
    • Add new child key
  • Prettier error message
  • Help window

Dependencies

~12–22MB
~334K SLoC