mirror of https://github.com/skanehira/tson
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
805b6e1745 | 5 years ago | |
---|---|---|
gui | 5 years ago | |
LICENSE | 5 years ago | |
README.md | 5 years ago | |
go.mod | 5 years ago | |
go.sum | 5 years ago | |
main.go | 5 years ago | |
test.json | 5 years ago |
README.md
tson
tson
is JSON viewer written in Go.
This tool displays JSON as a tree and you can search and edit key or values.
Support OS
- Mac
- Linux
Installation
$ git clone https://github.com/skanehira/tson
$ cd tson && go install
Usage
$ tson < test.json
Keybinding
JSON tree
key | description |
---|---|
j | move down |
k | move up |
g | move to the top |
G | move to the bottom |
ctrl-f | page up |
ctrl-b | page down |
h | hide current node |
H | collaspe all nodes |
l | expand current node |
L | expand all nodes |
r | read from file |
Enter | edit node |
/ | search nodes |
Author
skanehira