title: Json value print TypeError: string indices must be integers, not str
body: <p>I have below dictionary in python </p>
  
  <pre><code> &gt;&gt;&gt; dict = {"name":"myname", "class": "10", "score %": "60"}
  </code></pre>
  
  <p>I have converted from dictionary to json format like below </p>
  
  <pre><code>&gt;&gt;&gt; json_format = json.dumps(dict)
  &gt;&gt;&gt; print json_format
  {"score %": "60", "name": "myname", "class": "10"}
  </code></pre>
  
  <p>I am trying to get value of key from json_format variable:</p>
  
  <pre><code>  &gt;&gt;&gt; print json_format["name"]
  </code></pre>
  
  <p>I am getting below error:</p>
  
  <pre><code>Traceback (most recent call last):
     File "&lt;stdin&gt;", line 1, in &lt;module&gt;
   TypeError: string indices must be integers, not str
  </code></pre>
  
  <p>Please help me where i am doing mistake. </p>