Devtools.supstudio.in

Tools/JSON

Trailing commas

What this is

JavaScript, TypeScript trailingComma, and Prettier on objects all emit a comma after the last property. JSON.parse rejects it. The error often points at the closing brace, which is why a gutter + Repair button is faster than staring at the message. Fix: delete the comma, click Repair, or generate JSON with JSON.stringify instead of hand-editing.

Open the formatter — paste stays in this tab.

{
  "ok": true,
}

FAQ

JSON5 / JSONC?
JSON5 and JSONC allow trailing commas. This site validates standard JSON. Convert before sending to most APIs.

Related