python encoding_error official true

json.JSONDecodeError

ID: python/json-jsondecodeerror

Also available as: JSON · Markdown
80%Fix Rate
95%Confidence
0Evidence

Version Compatibility

VersionStatusIntroducedDeprecatedNotes
3.x active

Root Cause

JSON data is malformed. Trailing commas, single quotes, or non-JSON content.

generic

Official Documentation

https://docs.python.org/3/library/json.html