Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Python
  3. Question
Python

The Json.Load, JSONDecodeError: Expecting Value: Line 1 Column 1 (Char 0)

Asked by Ananya Pawar Nov 18, 2022 4.1K views 1 answer
Share

About this question

 I am reading in a json.bz2 file.
This is the code
with open(full_filename, 'r', encoding='utf-8', errors='ignore') as the_file:    
    data = json.load(the_file)
Error:
JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Your answer

1 Answer

More Python discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Python Blogs

Guides, tips and career advice on Python from JanBask experts.