View My JSON
Skip to main content
Blog

Trailing commas, smart quotes, and other copy-paste damage to JSON

The everyday ways JSON gets broken when people copy it from chat apps, docs, or JavaScript — with examples and fixes you can apply in under a minute.

I keep a short mental list of why paste fails. It is almost never "JSON is hard." It is that the text came from Slack, a Notion page, a JavaScript file, or a README that was never meant to be parsed. This article walks through the damage patterns I see weekly, what the parser usually says, and how to repair them without guessing.

Sources and further reading

Try the JSON workspace