widget_snapshot_json: Serialize a structural widget snapshot as JSON

View source: R/export.R

widget_snapshot_jsonR Documentation

Serialize a structural widget snapshot as JSON

Description

The JSON form of widget_snapshot(). Requires the optional jsonlite package.

Usage

widget_snapshot_json(x, pretty = TRUE)

Arguments

x

A widget, Screen, or App.

pretty

Format JSON for readability?

Value

A JSON string.


termr documentation built on Oct. 21, 2026, 5:13 p.m.