title: How to read JSON Response for elements with no name in Java (SurveyGizmo survey response API)
body: <p>I'm working with the surveygizmo API to retrieve survey responses, however in their JSON response (example below) I came across two issues.</p>
  
  <ol>
  <li><p>How would I iterate through the question:answer pairs, there doesn't seem to be a field name associated with it so I can't do a JSONObject.getJSONObject("fieldname"); or JSONArray.getJSONArray("fieldname"); Due to the skip logic of the survey I won't know what questionId's I need to pull in so I can't get by 'question(#)' either.</p></li>
  <li><p>I need the questionId of the question, however given that the key is "[question(#)]", how would I obtain the questionId since I don't believe its either a JSONObject or JSONArray, should I treat it as a string and do a regex search to retrieve the # in the "question()"?</p></li>
  </ol>
  
  <p>JSONResponse Example</p>
  
  <pre><code>{
      "result_ok":true,
      "total_count":"1",
      "page":1,
      "total_pages":1,
      "results_per_page":50,
      "data":[{
          "id":"1",
          "contact_id":"",
          "status":"Complete",
          "is_test_data":"1",
          "datesubmitted":"2013-02-07 12:00:00",
          "sResponseComment":"",
          "[question(3)]":"15",
          "[question(4), option(10003)]":"Baseball",
          "[question(4), option(10007)]":"Basketball",
          "[question(4), option(10009)]":"Hockey",
          "[question(12)]":"No",
          "[question(14)]":"Yes",
          "[question(15)]":"Abc",
          "[question(16)]":"No"
     }]
  }
  </code></pre>