Skip to main content

JsonTreeView

A simple python program for viewing JSON data more clearly

How to use

from jsontreeview import treeView
...
# Works for both dict and list types
treeView(obj, output="out.txt") # optional output file argument, default is stdout

Example

Input:

{"glossary":{"title":"exampleglossary","GlossDiv":{"title":"S","GlossList":{"GlossEntry":{"ID":"SGML","SortAs":"SGML","GlossTerm":"StandardGeneralizedMarkupLanguage","Acronym":"SGML","Abbrev":"ISO8879:1986","GlossDef":{"para":"Ameta-markuplanguage,usedtocreatemarkuplanguagessuchasDocBook.","GlossSeeAlso":["GML","XML"]},"GlossSee":"markup"}}}}}

Output:

["glossary"]:
 -["title"]: str
 -["GlossDiv"]:
  --["title"]: str
  --["GlossList"]:
   ---["GlossEntry"]:
    ----["ID"]: str
    ----["SortAs"]: str
    ----["GlossTerm"]: str
    ----["Acronym"]: str
    ----["Abbrev"]: str
    ----["GlossDef"]:
     -----["para"]: str
     -----["GlossSeeAlso"]:
      ----->[0]: str
      ----->[1]: str
    ----["GlossSee"]: str

Metadata

Release files for jsontreeview 2.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jsontreeview 2.6
File Size Uploaded
jsontreeview-2.6.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jsontreeview 2.6
File Interpreter ABI Platform
jsontreeview-2.6-py3-none-any.whl Python 3 none any Details

Total release size: 6.1 kB

Release files / jsontreeview-2.6.tar.gz

Download URL jsontreeview-2.6.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3eb87cd4c3b83847b7c17b6d96364ec3521d8290f48c228986f7e21956e22da5
BLAKE2b-256 checksum
How to use checksums
6620aa4189c2b2543913b9ea47834ae2c4e64853f92caa31d365e47e1b9e9082
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.0

Release files / jsontreeview-2.6-py3-none-any.whl

Download URL jsontreeview-2.6-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0aeb169e7f395fd7fbf3e8f0de268fba4d8ed3dec1ae4eb109089a3aabc1136d
BLAKE2b-256 checksum
How to use checksums
89a40d2e1a0e57a6498b8e6b52592c5bb7f0755e20c97a953d1ec89087ec1561
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.0

Release history Release notifications | RSS feed

This release

2.6 This release

2 release files

2.5

2 release files

2.4

2 release files

2.3

2 release files

2.2

2 release files

2.1

2 release files

2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page