JSON Validation in CI Pipelines

2026-07-07 · 3 min read

A deployment failed because a config file had a trailing comma after the last array element. The error message was "Unexpected token" with no line number. Two developers spent 10 minutes looking at the file before I pasted it into Formly's JSON validator. It highlighted line 247, column 3 — the exact trailing comma. Fixed in 30 seconds.

The Trailing Comma Is the #1 JSON CI Killer

JavaScript lets you put commas after the last array element. JSON does not. A validator catches it instantly. Validate your JSON →

Sam Taylor Written by Sam Taylor — Full-Stack Developer. I build tools that solve real problems. More about me →