Skip to content

Commit 91da525

Browse files
documentation tweaks
1 parent 7199990 commit 91da525

File tree

3 files changed

+38
-8
lines changed

3 files changed

+38
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ For more details, see the [full
3838
documentation](https://stringertheory.github.io/json-explorer/>).
3939

4040

41-
### Other tools to help with
41+
### Other tools to help with JSON data
4242

4343
This tool is intended for quick and dirty exploration of JSONs. If
4444
that's not what you need, there are a *lot* of great resources for

docs/index.md

Lines changed: 34 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,36 @@
1-
# json-explorer
2-
3-
[![Release](https://img.shields.io/github/v/release/stringertheory/json-explorer)](https://img.shields.io/github/v/release/stringertheory/json-explorer)
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)
5-
[![Commit activity](https://img.shields.io/github/commit-activity/m/stringertheory/json-explorer)](https://img.shields.io/github/commit-activity/m/stringertheory/json-explorer)
6-
[![License](https://img.shields.io/github/license/stringertheory/json-explorer)](https://img.shields.io/github/license/stringertheory/json-explorer)
2+
[![codecov](https://codecov.io/gh/stringertheory/json-explorer/branch/main/graph/badge.svg)](https://codecov.io/gh/stringertheory/json-explorer)
3+
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.
736

8-
Explore the structure of a bunch of jsons.

docs/modules.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
::: json_explorer
1+
::: json_explorer
2+
3+
::: json_explorer.explore.TripleCounter

0 commit comments

Comments
 (0)