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.
  1. Yes
  2. No
CopyBooleanIf active, adds a control bar with copy JSON button.
  1. Yes
  2. No
JSON indentationWidth--
Secondary textColor--
SeparatorColor--
Custom CSS classesTextCSS classes, separated by spaces. You can define classes in custom stylesheets.-