title: How to parse MultiDimension Json Array into CSV using json.JSONArray
body: <p>Here is my Json response:</p>
  
  <pre><code>{
  "value": [
      {
          "type": "school",
          "id": 12,
          "name": "NNPS",
          "city": "CA",
          "geo_position": {
              "latitude": 52.52437,
              "longitude": 13.41053
          }
      },
      {
          "type": "College",
          "id": 44,
          "name": "PEC",
          "city": "PE",
          "geo_position": {
              "latitude": 45.50298,
              "longitude": 10.04366
          }
      }
    ]
  }
  </code></pre>
  
  <p>Here is my java code using "json.JSONArray" library:</p>
  
  <pre><code>while ((csvdata= br.readLine()) != null) {
    JSONObject output= new JSONObject(csvdata);
    JSONArray docs = output.getJSONArray("value");
    String csv = CDL.toString(docs);
    FileUtils.writeStringToFile(file, csv);
   }
  </code></pre>
  
  <p>When i checked <code>csv</code> file, it shows me like this: </p>
  
  <p><img src="https://i.stack.imgur.com/hDrZt.png" alt="enter image description here">
      <strong>But it should be like this:</strong></p>
  
  <p><img src="https://i.stack.imgur.com/cop9j.png" alt="enter image description here">
  I am at very beginning of my coding stage and currently improving it. Please give me some advice on it :)
  How should i change it?</p>