The Python package jsonmagic can be installed from PyPI:
python -m pip install jsonmagic
Usage is only meaningful within JupyterLab.
You can do:
from jsonmagic import view_json
view_json(obj)or alternatively use this as a line magic:
%load_ext jsonmagic
Then, inspect any JSON-like data structure (nested dictionary/list etc) with:
%json data
Get a browsable output like this:
This repository was set up using the SSC Cookiecutter for Python Packages.
