title: converting list in json response to comma delimed
body: <p>Hi I have below json response object converted to string</p>
  
  <p>json object:</p>
  
  <pre><code>{"docInformation":[{"docsWithinTheAlertingRegion":[2134,12521],"toatlNotifiedViaSms":0,"totalAccepted":1}]}
  </code></pre>
  
  <p>How to convert the <code>docsWithinTheAlertingRegion":[2134,12521]</code> to comma delimited text <code>docsWithinTheAlertingRegion":2134,12521</code>?</p>
  
  <p>The output I want is json object:</p>
  
  <pre><code>{"docInformation":[{"docsWithinTheAlertingRegion":2134,12521,"toatlNotifiedViaSms":0,"totalAccepted":1}]}
  </code></pre>
  
  <p>Below is snippet of my code</p>
  
  <pre><code>**BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream()));
       String inputLine;
       StringBuffer response = new StringBuffer();
       while ((inputLine = in.readLine()) != null) {
      System.out.println("line number:"+ inputLine); 
          response.append(inputLine);
       }
       in.close();
      JSONObject jsonObj = new JSONObject(response.toString()); 
      String str = XML.toString(jsonObj);**
  </code></pre>