Why is my JSON showing as invalid when it looks correct?
The most common causes are: a trailing comma after the last item in an array or object (valid in JavaScript but not in JSON), single quotes instead of double quotes around strings, an unquoted key name, or a comment inside the JSON (JSON doesn't support comments). The formatter highlights the exact line where parsing fails.