Skip to content

mefemefe/tjson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

T-JSON (TreeJSON / TUI-JSON)

Traverse a JSON using a collapsible Tree

Will show 2 Trees side by side if 2 inputs are passed.

Screenshot


Download

RELEASES <--

OR Install from source

pip install -e .

OR Install from pypi

pip install tuijson (command can be run as both tjson or tuijson)


Usage:

tjson <json_file_or_json_string> OPTIONAL:<json_file_or_json_string2>

With file:

tjson example.json

With string:

tjson '{"test": {"test2": "test3"}}'

Two files:

tjson 1.json 2.json


Bindings

q QUIT

SPACE COLLAPSE/EXPAND

e EXPANDALL

d EXPAND BOTH TREES

c COLLAPSEALL

f COLLAPSE BOTH TREES

s SEARCH (find next node that matches query, if no match, searches from root)

About

Traverse/Compare JSON using collapsible Trees

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages