JSON Tools

OTree – terminal user interface for viewing structured data

OTree is a terminal user interface for viewing structured data as an interactive tree. It supports JSON, YAML, TOML and XML files, making deeply nested documents easier to explore from the terminal.

The interface combines a tree overview with a data view and provides navigation, filtering, syntax highlighting and mouse support. Its colours and key bindings can be customised through a configuration file.

This is free and open source software.

Key Features

  • View JSON files as interactive trees.
  • View YAML files.
  • View TOML files.
  • View XML files.
  • Tree overview for navigating nested data.
  • Separate data block for viewing selected content.
  • Change the selected item to the current root.
  • Return to the previous root.
  • Expand individual tree items.
  • Expand all items.
  • Close all expanded items.
  • Filter items.
  • Highlight filtering keywords.
  • Syntax highlighting in the data view.
  • Copy selected content to the clipboard.
  • Open selected items in an external editor in read-only mode.
  • Mouse click and scrolling support.
  • Customisable colours and key bindings.

Website: github.com/fioncat/otree
Support:
Developer: wenqian
License: MIT License

OTree in action
Click image for full size

OTree is written in Rust. Learn Rust with our recommended free books and free tutorials.


Related Software

JSON Tools
jqLightweight and flexible JSON processor. It's like sed for JSON
fxJSON viewer with streaming and mouse support
jaqjq clone focused on correctness, speed, and simplicity.
gronTransforms JSON into discrete assignments to make it easier to grep
gojqPure Go implementation of jq
jlessCommand-line JSON viewer written in Rust
jnvNavigates JSON offering a viewer and filter editor
JSON EditorView, edit, format, and validate JSON
jidJSON incremental digger by using filtering queries
joSmall utility to create JSON objects
faqBilled as a more flexible jq supporting additional formats
jelloFilter JSON and JSON Lines data with Python syntax
qqjq but an interoperable configuration format transcoder
json-tuiJSON terminal UI
jiqInteractive JSON query tool
emutoSmall language for manipulating and restructuring JSON and other data
svelte-jsoneditorView, edit, format, transform, and validate JSON
qoQuery JSON, CSV, and TSV files using SQL
JaniceDesktop app for viewing large JSON files
unqeryQuery and transform JSON data
TwigTerminal JSON viewer and YAML viewer
jtcExtract, manipulate and transform source JSON
pyfxPython-native TUI JSON viewer
kirillJSON validator
jshonParses, reads and creates JSON. It's designed to be as usable as possible
jsawkLike awk, but for JSON
jqpTUI playground to experiment with jq

Read our verdict in the software roundup.

Alternatives to jq
fxJavaScript Object Notation (JSON) viewer with streaming and mouse support
gojqPure Go implementation of jq
jelloFilter JSON and JSON Lines data with Python syntax
jlessCommand-line JSON viewer written in Rust
emutoSmall language for manipulating and restructuring JSON and other data files
unqeryQuery and transform JSON data
htmlqLike jq but for HTML
faqBilled as a more flexible jq supporting additional formats
jaqjq clone focused on correctness, speed, and simplicity
qqInteroperable configuration format transcoder with jq query syntax

Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted