Skip to content

Commit 87e3737

Browse files
updated readme
1 parent 636bee5 commit 87e3737

1 file changed

Lines changed: 58 additions & 7 deletions

File tree

README.md

Lines changed: 58 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,63 @@
1-
# json-explorer
2-
3-
![Release](https://img.shields.io/github/v/release/stringertheory/json-explorer?include_prereleases)
41
[![Build status](https://img.shields.io/github/actions/workflow/status/stringertheory/json-explorer/main.yml?branch=main)](https://github.com/stringertheory/json-explorer/actions/workflows/main.yml?query=branch%3Amain)
52
[![codecov](https://codecov.io/gh/stringertheory/json-explorer/branch/main/graph/badge.svg)](https://codecov.io/gh/stringertheory/json-explorer)
6-
[![Commit activity](https://img.shields.io/github/commit-activity/m/stringertheory/json-explorer)](https://img.shields.io/github/commit-activity/m/stringertheory/json-explorer)
7-
[![License](https://img.shields.io/github/license/stringertheory/json-explorer)](https://img.shields.io/github/license/stringertheory/json-explorer)
83

9-
Explore the structure of a bunch of jsons
4+
# JSON Explorer
5+
6+
Explore the structure and contents of a group of JSONs, like responses
7+
from an API.
8+
9+
### Installation
10+
11+
```
12+
pip install json-explorer
13+
```
14+
15+
JSON Explorer is a small tool with no dependencies and is tested in
16+
Python 3.7+.
17+
18+
### Getting started
19+
20+
Get started by writing a few JSONs you want to explore to a file, one
21+
per line. Then run `json-explorer` from the command line:
22+
23+
```
24+
json-explorer data_from_an_undocumented_API.jsonl
25+
```
26+
27+
If you just want to try it out but don't have JSONs in a file, you can
28+
run `json-explorer --example` to see how it works with example data.
29+
30+
This will pop up a web page that helps you explore the properties of
31+
the objects, what data types are in there, what values are unique, and
32+
more.
33+
34+
From there, you might use `jq` or `jmespath` to write something to
35+
more read the data that you're interested in using.
36+
37+
For more details, see the [full
38+
documentation](https://stringertheory.github.io/json-explorer/>).
39+
40+
41+
### Other tools to help with
42+
43+
This tool is intended for quick and dirty exploration of JSONs. If
44+
that's not what you need, there are a *lot* of great resources for
45+
working with JSON data. Here is an [awesome
46+
list](https://github.com/burningtree/awesome-json).
47+
48+
There are a couple tools in the python ecosystem that complement JSON
49+
Explorer:
50+
51+
- [GenSON](https://github.com/wolverdude/genson/) can create a [JSON
52+
Schema](https://json-schema.org/) from a group of JSONs.
53+
54+
- [jmespath.py](https://github.com/jmespath/jmespath.py). The official
55+
Python implementation fo the JMESPath query language for JSON.
56+
57+
Also, there are many tools for viewing/navigating individual JSONs, a
1058

11-
- **Documentation** <https://stringertheory.github.io/json-explorer/>
59+
- [JSON View](https://jsonview.com/). A simple browser extension to
60+
view JSONs, that's available for several browsers.
1261

62+
- [JSON Hero](https://jsonhero.io/). A full-featured JSON
63+
visualization tool.

0 commit comments

Comments
 (0)