title: Reading in JSON file received error message
body: <p>I'm new with python and I ran the code below and got this error message. I saw from another similar post that I have two json files? But I don't really understand since I only load one into my jupyter notebook. I tried deleting the json file and reupload it to jupyter notebook but it doesn't work.</p>
  <p>How would I be able to fix this? Thank you.</p>
  <pre><code>import json
  
  with open('file.json') as f:
      json = json.load(f)
      
  print(json)
  </code></pre>
  <p>I received this message:</p>
  <pre><code>JSONDecodeError                           Traceback (most recent call last)
  &lt;ipython-input-3-5b475df8ffe8&gt; in &lt;module&gt;
        2 
        3 with open('file.json') as f:
  ----&gt; 4     json = json.load(f)
        5 
        6 print(json)
  
  /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/json/__init__.py in load(fp, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw)
      291     kwarg; otherwise ``JSONDecoder`` is used.
      292     &quot;&quot;&quot;
  --&gt; 293     return loads(fp.read(),
      294         cls=cls, object_hook=object_hook,
      295         parse_float=parse_float, parse_int=parse_int,
  
  /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/json/__init__.py in loads(s, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw)
      344             parse_int is None and parse_float is None and
      345             parse_constant is None and object_pairs_hook is None and not kw):
  --&gt; 346         return _default_decoder.decode(s)
      347     if cls is None:
      348         cls = JSONDecoder
  
  /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/json/decoder.py in decode(self, s, _w)
      338         end = _w(s, end).end()
      339         if end != len(s):
  --&gt; 340             raise JSONDecodeError(&quot;Extra data&quot;, s, end)
      341         return obj
      342 
  
  JSONDecodeError: Extra data: line 2 column 1 (char 2702)
  </code></pre>