title: Java convert a Json string to an array
body: <p>I have a Json String and I am trying to convert it to an array in Java.</p>
  
  <pre><code>public void DisplaySubjects(String subjects)
       {
           JSONObject jsonResponse;
           jsonResponse = new JSONObject(subjects));
  </code></pre>
  
  <p>Thats as far as I get.I'm not even sure if I have to create a object first.</p>
  
  <p>What I will need to do eventuallay is attach it to a ArrayAdapter in an android app.</p>
  
  <p>Thanks</p>