Cómo evitar el problema de decodificación de JSON en Python
incorrect_json = '{ name":"John "age":30 "car:"None" }'
try:
a_json = json.loads(incorrect_json)
print(a_json)
except json.decoder.JSONDecodeError:
print("String could not be converted to JSON")
Cooperative Cowfish