Json¶ marimo.json ¶ json( data: str | dict[str, Any] | list[Any], label: Optional[str] = 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: Optional[str] DEFAULT: None RETURNS DESCRIPTION Html Html object TYPE: Html