Visualize and edit JSON
Project description
Installation
pip3 install jsoneditor
Usage
In python:
import requests
import jsoneditor
data = requests.get('your endpiont here').json()
jsoneditor.editjson(data)
From the terminal:
You got a cuple of options.
python -m jsoneditor '{"Hey": "Hi"}'
curl https://jsonplaceholder.typicode.com/comments | jsoneditor
jsoneditor '{"Hey": "Hi"}'
Forms of passing the json
You can pass the json in any of the following forms:
- as valid json string
- as a python dict
- as a url the points to valid json
- as a file path that is valid json
Build
python3 setup.py sdist
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jsoneditor-1.1.0.tar.gz
(386.1 kB
view hashes)