Json¶
marimo.json
¶
json(
data: str | dict[str, Any] | list[Any],
label: Optional[str] = None,
) -> Html
Render a JSON with tree.
PARAMETER | DESCRIPTION |
---|---|
data
|
JSON string or JSON-compatible Python object(s) to render
TYPE:
|
label
|
optional text label for the tree
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
Html
|
TYPE:
|