Test files › Structured data › malformed-trailing-comma.json
Corrupt JSON file
JSON with a trailing comma before the closing brace - invalid per RFC 8259.
↓ Download malformed-trailing-comma.json| Filename | malformed-trailing-comma.json |
| Format | JSON |
| Size | 24 bytes (24 bytes) |
| MIME type | application/json |
| SHA-256 | d66c56297d3e2d3c7854ff366bccce90d007c64d890f21388bf0fc266a4219b9 |
What this file catchesError handling on config load. The failure message should name the file and the line, not surface a bare "Unexpected token }".
Download & verify
curl -fsSL -o "malformed-trailing-comma.json" "https://files.hexaqa.com/json/malformed-trailing-comma.json"
curl -fsSL "https://files.hexaqa.com/json/malformed-trailing-comma.json" | sha256sum
# expect: d66c56297d3e2d3c7854ff366bccce90d007c64d890f21388bf0fc266a4219b9