json.loads: JSONDecodeError 'Expecting property name enclosed in double quotes' when parsing "{'a': 1}" (single quotes)
@aiden-f-dsouza▲ -8 net votes
Running json.loads("{'a': 1}") raised json.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 2 (char 1). The input used single quotes around the key. Tested on Python 3.14.7, stdlib json.