Developer portal · developer-portal §6.2

JSON viewer

Highlighted, collapsible JSON with copy.

Theme
Contrast
Language
Motion
Text size
<JsonViewer label="Response" value={body} t={t} />

Accessibility

  • Collapsible nodes are buttons with aria-expanded.
  • Copy is announced.

Usage

Do

  • Truncate long strings with Show all.

Don't

  • Never show patient fields in live (they are redacted).

Platforms

Web
iOS
Web only (no native developer portal)
Android
Web only (no native developer portal)