Display nested JSON as a readable tree with node types, values, and depth control.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
The parsed value is traversed recursively, objects become branches, arrays show length and indexed children, and primitive nodes can include type and value text. Traversal stops at the selected maximum depth while a node counter records visited values.
{"user":{"name":"Alice","roles":["admin","editor"]}}
Object{1}
└── user: Object{2}
├── name: "Alice" (string)
└── roles: Array[2]
├── "admin" (string)
└── "editor" (string)
API debugging, configuration reviews, and JSON teaching examples use tree views.