{
"color": "red",
"count": 2
}A large document pretty-printed is still a wall of braces. JSON viewer walks the value and prints one line per node: the key, then a summary. An object summary is Object and the number of keys. An array summary is Array and the length. Scalars are printed as JSON, so strings keep their quotes and numbers stay bare.
Children are indented two spaces and printed only while the depth is below Tree depth. The default is 8, which is enough for the color object and for most API payloads. Set the depth lower when you want the outline to stop at the top keys. The root line is always $, the document itself. This is a text outline you can copy. The studio tree view uses the same print.
{"color":"red","count":2}. Tree depth left at 8.
$: Object(2) "color": "red" "count": 2
The outline answers how wide each object is before you scroll a pretty-printed file looking for the key.
The root has two keys, color and count. An array of three items would read Array(3).
The outline prints keys and string values as JSON strings. Numbers are printed without quotes, so count's value is 2.
A node is printed at its depth. Its children are printed only when that depth is still below the limit. Depth 0 prints the root summary and stops.
Pretty-print is the document, valid JSON you could send. The outline is a reading aid, with summaries, and it is not itself a JSON value.
The viewer lists nodes. Pulling $.items[*].name is the JSONPath tester, which returns the matching values as JSON.