title: Python 3.7 JSON - AttributeError 'dict has no attribute "read"'
body: <p>I was doing simple exercises with JSON and, suddenly, I began to find errors that prevent dictionaries from being converted to JSON and recorded in files:</p>
  
  <pre>
  import json
  
  i = {
      "element" : "some element",
      "items" : [
          1, "true", "thing"
      ],
      "nested": {
          "dfadf": "1",
          "adfgf": "2"
      }
  }
  
  file = json.load(i)
  </pre>
  
  <p>Returns:</p>
  
  <pre>
  Traceback (most recent call last):
    File "context-manager.py", line 15, in 
      file = json.load(i)
    File (...)"\AppData\Local\Programs\Python\Python37-32\lib\json\__init__.py", line 293, in load
      return loads(fp.read(),
  AttributeError: 'dict' object has no attribute 'read'
  PS (...)\json>
  </pre>
  
  <p>I tried to paste basic functional code but got the same error, or 'write' error when try to dump to file. Is my Python's installation broken, maybe? (I use a company's notebook, but everything was fine till yesterday)
  Setup: Windows 10, Python 3.7.4 (running with command 'py' to not launch Python 2.7)</p>
  
  <p>Thanks very much for your opinion!</p>