Trailing commas make JSON invalid.
Section: Core syntax rules
Do not use trailing commas
json
json
{
"name": "Ada",
"role": "admin"
}Explanation
A trailing comma after the last property or array item is a frequent parse failure.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Core syntax rules