79291950

Date: 2024-12-18 17:17:57
Score: 1
Natty:
Report link

I just faced this error in a weird situation. I was working with shared data and the .json files were actually pickles. Therefore, what solved that for me was:

with open("pickled_file_with_bad_extension.json", "rb") as f:
    data = pickle.load(f)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Llohann Dallagnol Speranca