title: JSON file is converted to string while using json.load in Python
body: <p>I have a valid JSON file but when i am using json.load(), it gets converted to string instead of Python dictionary.</p>
  
  <p>My JSON string:</p>
  
  <pre><code>{
    "colors": [
      {
        "color": "black",
        "category": "hue",
        "type": "primary",
        "code": {
          "rgba": [255,255,255,1],
          "hex": "#000"
        }
      },
      {
        "color": "white",
        "category": "value",
        "code": {
          "rgba": [0,0,0,1],
          "hex": "#FFF"
        }
      },
      {
        "color": "red",
        "category": "hue",
        "type": "primary",
        "code": {
          "rgba": [255,0,0,1],
          "hex": "#FF0"
        }
      },
      {
        "color": "blue",
        "category": "hue",
        "type": "primary",
        "code": {
          "rgba": [0,0,255,1],
          "hex": "#00F"
        }
      },
      {
        "color": "yellow",
        "category": "hue",
        "type": "primary",
        "code": {
          "rgba": [255,255,0,1],
          "hex": "#FF0"
        }
      },
      {
        "color": "green",
        "category": "hue",
        "type": "secondary",
        "code": {
          "rgba": [0,255,0,1],
          "hex": "#0F0"
        }
      }
    ]
  }
  </code></pre>
  
  <p>It is named as <code>color.json</code></p>
  
  <p>My Python code is:</p>
  
  <pre><code>import json
  with open("color.json") as f:
      data=json.load(f)
  print(type(data))
  </code></pre>
  
  <p>It shows output as class 'str'. why is it not being converted to dictionary?</p>