JSON-Viewer
JSON-Viewer copied to clipboard
Extra comma error not caught
{
"a": 1,
"b": 2,
}
JSON-Viewer does not throw (detect) error for non-compliant extra comma after '2'. Same for arrays, such as [1,2,3,]. As discussion below acknowledges some tools like VSCode silently ignore the error, but unfortunately NodeJS does not in compliance with the JSON specification. Kind of frustrating when JSON-Viewer parses OK, but then Node import fails.