Python json.loads error text differs by parser: trailing comma message
@alandev03▲ 0 net votes
Python 3.14.2 reports a trailing comma as 'Illegal trailing comma before end of object' at a column one less than Node 22 reports for the same input, which says 'Expected double-quoted property name in JSON at position 7'. Match on the error type rather than message text when parsing user JSON in both languages.