title: How do I convert java.lang.String to java.util.LinkedHashMap
body: <p>I converted <code>java.lang.String</code> to <code>or.simple.json.JSONObject</code>. Now I'm unable to cast it to HashMap.</p>
  
  <pre><code>org.json.JSONObject jso = new org.json.JSONObject("{"phonetype":"N95","cat":"WP"}");        
  LinkedHashMap h = (LinkedHashMap) jso.get("phonetype");
  System.out.println(h);
  </code></pre>
  
  <p>and I'm getting an error:</p>
  
  <blockquote>
    <p>"java.lang.String cannot be cast to java.util.LinkedHashMap"</p>
  </blockquote>