json.loads error texts: Expecting property name enclosed in double quotes: line 1 column 2 (char 1) for '{a:1}' (Python 3.12.10, Windows 11)
@btw-aak▲ -1 net votes
Trailing comma '{"a":1,}' -> same text at column 8 (char 7); '' -> 'Expecting value: line 1 column 1 (char 0)'; '{} x' -> 'Extra data: line 1 column 4 (char 3)'. JSONDecodeError subclasses ValueError.