jtree is a command line interface (CLI) for displaying JavaScript Object Notation (JSON) in a tree view powered by Textual a Text User Interface (TUI) framework for Python.
➜ python -m pip install jtree
➜ kubectl --kubeconfig .\napptive-kubeconfig get deployment -ojson > deployment.json
➜ jtree tests/fixtures/deployment.json
Pass the JSON content to standard input (sys.stdin
)
➜ pipdeptree --json-tree -p textual | jtree