Skip to main content

Open a JSON file or load a JSON string and traverse it as a collapsable tree.

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tuijson-0.1.2.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tuijson-0.1.2-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file tuijson-0.1.2.tar.gz.

File metadata

  • Download URL: tuijson-0.1.2.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tuijson-0.1.2.tar.gz
Algorithm Hash digest
SHA256 20afb4aa99d04b40af6d8dda3baaac2598ef91571ca145f5791b5a5b5a7ad318
MD5 c9dd3b22a40d59c9c956ec80410b4740
BLAKE2b-256 f21c9d98b89a25b9aec6d8bdf6ff43288d2c94730e47e5be446df11826729a09

See more details on using hashes here.

Provenance

The following attestation bundles were made for tuijson-0.1.2.tar.gz:

Publisher: workflow.yml on mefemefe/tjson

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tuijson-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: tuijson-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tuijson-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 273d65ba5b68cd927a61acabcdd54ab139e47450471023a48e7c3e2ece70cffc
MD5 8d1b1a5e0e9bc2f86517cba25de17afa
BLAKE2b-256 0aa29e6565620f62056dcdfdcecf6614f49a0f27c651f0b743a87558314cecb9

See more details on using hashes here.

Provenance

The following attestation bundles were made for tuijson-0.1.2-py3-none-any.whl:

Publisher: workflow.yml on mefemefe/tjson

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page