Developer portal · developer-portal §6.2
JSON viewer
Highlighted, collapsible JSON with copy.
Code
<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)