Guide
Fix Trailing Commas in JSON
A trailing comma after the last object property or array item is valid in some JavaScript contexts, but it is not valid JSON.
Why the error happens
JavaScript object literals often allow a final comma, but JSON requires the final item to be followed directly by the closing bracket or brace.
Broken example
{ "name": "Ada", "active": true, }
Fixed JSON
{ "name": "Ada", "active": true }