A component to explore JSON data as a hierarchy.

Fields

NameTypeDescriptionOptions
DataObject--
Initial depthNumberSets the initial viewing depth of the JSON tree hierarchy. Use -1 to display the full hierarchy.-
Hide rootBooleanDon’t show the type of the root node when it’s an Object or an Array.-
Enable copy buttonBooleanIf active, adds a control bar with copy JSON button.-
JSON indentationWidth--
Secondary textColor--
SeparatorColor--
Custom CSS classesTextCSS classes, separated by spaces. You can define classes in custom stylesheets.-