Common JSON errors
The most frequent problems are trailing commas after the last item, single quotes instead of double quotes, keys without quotes and comments. The error message shows the line and column so you can jump straight to the problem.
Formatting options
Choose 2 spaces, 4 spaces or tabs for readable output, or minify to remove all whitespace for the smallest payload. Sorting keys alphabetically makes two JSON files much easier to compare.