Skip to contents

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

Usage

screen_snapshot_json(x, width = 80, height = 24, pretty = TRUE)

Arguments

x

A widget, Screen, App, or ScreenBuffer.

width, height

Frame size in cells.

pretty

Format the JSON for readability?

Value

A JSON string.