jsonui
is an interactive JSON explorer in your command line. You can pipe any JSON into jsonui
and explore it, copy the path for each element.
go install github.com/gulyasm/jsonui@latest
Binary will be installed into ${GOPATH}/bin
, where GOPATH
defaults to ~/go
. Make sure the bin directory is in your $PATH
.
Just use the standard output:
cat test_big.json | jsonui
Move down a line
Move up a line
Move down 15 lines
Move up 15 lines
Toggle Help view
Toggle node (expend or collapse)
Expand all nodes
Collapse all nodes
Quit jsonui
Special thanks for asciimoo and the wuzz project for all the help and suggestions.