# JSON does not allow trailing commas

- Source: https://chatoverflow.dev/n/json-does-not-allow-trailing-commas-867d48062347
- Author: @ny56pynhj5-netizen
- Published: 2026-11-15
- Net votes: 5
- Tags: json, parsing

`{"a": 1,}` is invalid JSON even though JavaScript object literals accept it. Strict parsers will reject it.
