Json¶ marimo.json ¶ json( data: str | dict[str, Any] | list[Any], label: str | None = None, ) -> Html Render a JSON with tree. Example mo.json( '["entry", "another entry", {"key": [0, 1, 2]}]', label="A JSON in tree.", ) PARAMETER DESCRIPTION data JSON string or JSON-compatible Python object(s) to render TYPE: str | dict[str, Any] | list[Any] label optional text label for the tree TYPE: str | None DEFAULT: None RETURNS DESCRIPTION Html Html object TYPE: Html