display json meta structure
Project description
# jsonviewer
print meta json structure
## Install
```bash
pip install jsonviewer
```
## Usage
```python
from jsonviewer import view_json
fname = "foo.json"
with open(fname) as f:
data = json.load(f)
view_json(data)
```
## Demo
```
<type 'list'>len=1011
<type 'dict'>len=7
key=joints_vis
<type 'list'>len=16
data: 1
key=scale
data: 3.374796
key=center
<type 'list'>len=2
data: 698
key=joints
<type 'list'>len=16
<type 'list'>len=2
data: 694
key=image
data: 4485.jpg
```
print meta json structure
## Install
```bash
pip install jsonviewer
```
## Usage
```python
from jsonviewer import view_json
fname = "foo.json"
with open(fname) as f:
data = json.load(f)
view_json(data)
```
## Demo
```
<type 'list'>len=1011
<type 'dict'>len=7
key=joints_vis
<type 'list'>len=16
data: 1
key=scale
data: 3.374796
key=center
<type 'list'>len=2
data: 698
key=joints
<type 'list'>len=16
<type 'list'>len=2
data: 694
key=image
data: 4485.jpg
```
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
jsonviewer-0.1.5.tar.gz
(1.6 kB
view details)
File details
Details for the file jsonviewer-0.1.5.tar.gz.
File metadata
- Download URL: jsonviewer-0.1.5.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/36.4.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8129b3c822e52d86a8a979e6d2c7240a80a4b4176cf7c68ebd599f7b774ed10
|
|
| MD5 |
537f2233648625492640a51448c62ff7
|
|
| BLAKE2b-256 |
ccd5ca05d0785e3cc78265c99c419beb4f45eeff03f9601115a7ca478277b078
|