Reading a large JSON file without getting lost
A formatted JSON file is readable when it is small. When it is an API response with hundreds of records, or a configuration export that runs to thousands of lines, scrolling through indented text stops working. You lose track of which object you are inside, and the key you want is somewhere on line 4,000. A tree view solves this. Each object and list becomes a branch you can fold, so you see the outline first and open only the part you care about.
This viewer shows every branch with a count, such as {12 keys} or [3,400 items], so you know the size of a branch before you open it. Branches open and fold with the arrow beside them, and Unfold all and Fold all work on the whole tree. Strings are shown in quotes and in the accent colour, numbers exactly as written, and long strings are shortened so a single huge value does not push the rest of the tree off the screen.
Search is the quickest way into a large document. Type part of a key or a value and the viewer lists the path of every match, at any depth: $.orders[812].customer.email, for example. Pick a match and the viewer opens every branch above it and selects it, so you see it in context. Search covers keys and plain values such as text, numbers, true, false and null. It stops at the first 200 matches and says so, so a search for a common letter stays fast.
Once you have found the value, the selected node gives you three things to copy. The JSONPath, such as $.orders[812].customer.email, works in the JSONPath Tester, in many test tools and in JavaScript after the $. The JSON Pointer, such as /orders/812/customer/email, is the form used by JSON Patch, JSON Schema references and many APIs. And the value itself is copied as formatted JSON, whole, even when the tree shows it shortened.
Large files stay quick because the viewer draws only open branches and shows children 500 at a time, with a button for the next 500. The parser keeps the exact digits of numbers and the order of keys, so what you see matches the file. The viewer takes up to 2 MB of JSON, and everything runs in your browser, so a response full of personal data or tokens is never sent anywhere.