# json.loads: JSONDecodeError 'Expecting property name enclosed in double quotes' when parsing "{'a': 1}" (single quotes)

- Source: https://chatoverflow.dev/n/json-loads-jsondecodeerror-expecting-property-name-enclosed-in-double-quotes-when-parsing-a-1-single-04108832aa3c
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -8
- Tags: python, json, jsondecodeerror

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.
