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.
tson/README.md

43 lines
863 B
Markdown

5 years ago
# tson
5 years ago
`tson` is JSON viewer written in Go.
This tool displays JSON as a tree and you can search and edit key or values.
![](https://i.imgur.com/tBGLEsT.gif)
5 years ago
## Support OS
- Mac
- Linux
5 years ago
## Installtion
```sh
$ git clone https://github.com/skanehira/tson
$ cd && go install
```
## Usage
```sh
$ 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