Skip to main content
io.display.object() shows the keys and values of a record in a folder’s page or in a step of an action. Nested objects and lists are shown under their key. It only displays and returns nothing. Provided by the @awaitio/display-object package.
An Account heading with a JSON tree: id, name, a nested plan, a list of owners and isTrial false

Install

Setup

Register it under the key you want in io:
app.ts

Usage

The label is the heading above the record; pass null for none.

Props

How it looks

The record is shown as a JSON tree: strings, numbers and booleans in their own colours, nested objects and lists open two levels deep and fold on a click, and every value can be copied. A Date arrives as its ISO string.