Parsing happens in your browser with the JavaScript engine's own JSON parser. That matters more than it sounds: most online JSON formatters POST your payload to a server, and JSON being debugged is very often a real API response with real customer data, tokens or internal hostnames in it. Paste that into a random site and you have made a disclosure.
You can verify the claim — disconnect from the network and this page keeps working.
When JSON is invalid, we give you the line and column and print the surrounding lines with a caret under the offending character. Nine times out of ten it is one of four things:
{name: "x"} is a JavaScript object literal, not JSON.C:\Users needs to be C:\\Users.Comments are also invalid in strict JSON, whatever your editor lets you get away with. JSONC and JSON5 are different formats.
Key count, array count and maximum nesting depth are useful when you are deciding whether a payload is reasonable. Deep nesting — past five or six levels — usually means the shape is fighting you, and it makes every consumer of that API harder to write. Null count is worth a glance too: a field that is null in every record is often a field that was never wired up.
We do managed IT, networking and security for businesses across Central Oregon.
Managed IT Services Call 541-508-8797