Skip to main content

Explore the structure of a bunch of jsons

Project description

Build status codecov

JSON Explorer

Explore the structure and contents of a group of JSONs, like responses from an API.

Installation

pip install json-explorer

JSON Explorer is a small tool with no dependencies and is tested in Python 3.7+.

Getting started

Get started by writing a few JSONs you want to explore to a file, one per line. Then run json-explorer from the command line:

json-explorer data_from_an_undocumented_API.jsonl

If you just want to try it out but don't have JSONs in a file, you can run json-explorer --example to see how it works with example data.

This will pop up a web page that helps you explore the properties of the objects, what data types are in there, what values are unique, and more.

From there, you might use jq or jmespath to write something to more read the data that you're interested in using.

For more details, see the full documentation.

Other tools to help with JSON data

This tool is intended for quick and dirty exploration of JSONs. If that's not what you need, there are a lot of great resources for working with JSON data. Here is an awesome list.

There are a couple tools in the python ecosystem that complement JSON Explorer:

  • GenSON can create a JSON Schema from a group of JSONs.

  • jmespath.py. The official Python implementation fo the JMESPath query language for JSON.

Also, there are many tools for viewing/navigating individual JSONs, a

  • JSON View. A simple browser extension to view JSONs, that's available for several browsers.

  • JSON Hero. A full-featured JSON visualization tool.

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

json_explorer-0.1.1.tar.gz (30.2 kB view details)

Uploaded Source

Built Distribution

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

json_explorer-0.1.1-py3-none-any.whl (30.8 kB view details)

Uploaded Python 3

File details

Details for the file json_explorer-0.1.1.tar.gz.

File metadata

  • Download URL: json_explorer-0.1.1.tar.gz
  • Upload date:
  • Size: 30.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.3 Linux/5.15.0-1038-azure

File hashes

Hashes for json_explorer-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6e70ab8ef7fa7a09fe88d9f2978f2b563f882f6a84063f3022c0bea349b3ffd6
MD5 f5c6b0759c7dc4105aa6698729d23a00
BLAKE2b-256 aebf6e334cce7e2f11175d0bd65b135fec58d46330d864a656d206e3de5ff18c

See more details on using hashes here.

File details

Details for the file json_explorer-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: json_explorer-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 30.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.3 Linux/5.15.0-1038-azure

File hashes

Hashes for json_explorer-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 588a5ec66b54a22ef6d69c8fece21e7eb579b873a7bdb2b677b9183826b0534c
MD5 a82fb71667f2ef3d0f70a15d216418e7
BLAKE2b-256 c3ae5f0c65df31eb8bcf2ba370cea75c07b3bfa9c0680b202511a71421281682

See more details on using hashes here.

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