Elements

Reference

Json Tree View

JsonTreeView, dressed in the paper-and-ink system: the tree-view recipes re-scoped, with value nodes reading as tabular data. The parts — Root, Tree, plus createJsonTreeCollection.

#KeyNode

PropTypeDefaultDescription
nodeJsonNodeThe node to render.
showQuotesbooleanWhether to show quotes on the key.

#Node

PropTypeDefaultDescription
indentGuideboolean—
indexPathnumber[]—
nodeJsonNode—

#Root

PropTypeDefaultDescription
dataobjectThe data to display in the tree.
defaultExpandedDepthnumberThe default expand level.
quotesOnKeysbooleanWhether to show quotes on the keys.

#Tree

A styled part — no props of its own; it takes the anatomy's shared styling.

#ValueNode

PropTypeDefaultDescription
nodeJsonNodeHastElement—