|
há 2 anos atrás | |
---|---|---|
.. | ||
src | há 3 anos atrás | |
style | há 4 anos atrás | |
README.md | há 2 anos atrás | |
package.json | há 2 anos atrás | |
tsconfig.json | há 4 anos atrás | |
typedoc.json | há 4 anos atrás |
A JupyterLab extension for rendering JSON as a tree
This extension is in the official JupyterLab distribution.
To render JSON-able dict or list in IPython:
from IPython.display import JSON
JSON({
"string": "string",
"array": [1, 2, 3],
"bool": True,
"object": {
"foo": "bar"
}
})
To render a fully expanded tree:
JSON({
"string": "string",
"array": [1, 2, 3],
"bool": True,
"object": {
"foo": "bar"
}
}, expanded=True)
To render a .json
file, simply open it:
See the JupyterLab Contributor Documentation.