How the JSON Tree Viewer Works
AnyTool parses JSON (with a tolerant path for JSONC and trailing commas) and renders it as an interactive collapsible tree with type indicators, child counts, and value previews. Search highlights matches and auto-expands to them, and every node offers one-click copy of its value, its subtree as JSON, or its path as standard JSONPath ($.data[0].name) or a JS accessor. Large files stay responsive via off-main-thread parsing, collapsed-by-default deep nodes, lazy expansion, and a "show more" cap on huge arrays.
- Collapsible tree with type indicators and previews
- Search with highlight and auto-expand
- Copy value, subtree, or JSONPath per node
- Big-file handling with lazy expansion
- Tolerant JSON/JSONC parsing with error reporting
