@jupyterlab/json-extension
    TypeScript icon, indicating that this package has built-in type declarations

    3.2.4 • Public • Published

    json-extension

    A JupyterLab extension for rendering JSON as a tree

    demo

    Prerequisites

    • JupyterLab ^0.27.0

    Usage

    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:

    Development

    See the JupyterLab Contributor Documentation.

    Keywords

    none

    Install

    npm i @jupyterlab/json-extension

    DownloadsWeekly Downloads

    25,168

    Version

    3.2.4

    License

    BSD-3-Clause

    Unpacked Size

    21.1 kB

    Total Files

    11

    Last publish

    Collaborators

    • krassowski
    • darian
    • declanvk
    • markellekelly
    • zuoyuanh
    • ellisonbg
    • blink1073
    • jasongrout
    • sylvaincorlay
    • ian-r-rose
    • gnestor
    • parente
    • mpacer
    • jaipreets
    • minrk
    • saulshanabrook
    • hoo761
    • zsailer
    • telamonian
    • fcollonval
    • lresende
    • consideratio
    • ajbozarth
    • marthacryan
    • jtpio
    • echarles
    • goanpeca
    • mbektas
    • loichuder