Content
JSON Viewer
A component to explore JSON data as a hierarchy.
Fields
Name | Type | Description | Options |
---|---|---|---|
Data | Object | ||
Initial depth | Number | Sets the initial viewing depth of the JSON tree hierarchy. Use -1 to display the full hierarchy. | |
Hide root | Text | Don’t show the type of the root node when it’s an Object or an Array. |
|
Copy | Text | If active, adds a control bar with copy JSON button. |
|
JSON indentation | Width | ||
Accent | Color | ||
Secondary text | Color | ||
Separator | Color | ||
Custom CSS classes | Text | CSS classes, separated by spaces. You can define classes in custom stylesheets. |
Low code usage
This component can be declared directly in Python, using backend-driven UI.