|
hace 4 años | |
---|---|---|
.. | ||
src | hace 4 años | |
style | hace 5 años | |
README.md | hace 6 años | |
package.json | hace 5 años | |
tsconfig.json | hace 6 años | |
typedoc.json | hace 5 años |
A JupyterLab extension for rendering JSON as a tree
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.