The JSON component displays JSON data with syntax highlighting and collapsible structure.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/gradio-app/gradio/llms.txt
Use this file to discover all available pages before exploring further.
Basic usage
Constructor
Default JSON data as dict, list, or JSON string
If True, all JSON nodes expanded by default
Whether to show numerical indices for list elements
Component height with scrolling if needed
Buttons to show. Default is
["copy"]Events
- change - Triggered when JSON data changes