title: How to put multiple JSON objects from GET request into JSON Array?
body: <p>I've got a get endpoint that gives me all the information about all the restaurants that are present in the database (I've pasted the response below).</p>
  
  <p>Is it possible to actually store all those JSON Objects in an array, so that later I could iterate through all of them and put the information in the correct layout? If so, could you briefly describe how to do it? I've seen some answers here that point to JSONArray but as far as I'm concerned it worked when one attribute returns an array and not when GET request returns an array of objects. Correct me if I'm wrong.</p>
  
  <p>Thanks in advance!     </p>
  
  <pre><code>[
        {
          "Name": "Bar1",
          "TypeName": "Bar",
          "Address": "Long 124",
          "City": "Warsaw",
          "Opened": null,
          "NumberofSeats": 42
        },
        {
          "Name": "Bar2",
          "TypeName": "Bar",
          "Address": "Sesame St. 124",
          "City": "Moscow",
          "Opened": null,
          "NumberofSeats": 42
        },
        {
          "Name": "Bannered Mare",
          "TypeName": "Bar",
          "Address": "Nice St. 654",
          "City": "Budapest",
          "Opened": null,
          "NumberofSeats": 45
        },
        {
          "Name": "Rest",
          "TypeName": "Bar",
          "Address": "Flickering St. 12",
          "City": "Madrid",
          "Opened": null,
          "NumberofSeats": 50
        },
        {
          "Name": "Resting traveller",
          "TypeName": "Bar",
          "Address": "Sesame St. 44",
          "City": "London",
          "Opened": null,
          "NumberofSeats": 45
        },
        {
          "Name": "Frying Pan",
          "TypeName": "Bar",
          "Address": "Long St 124",
          "City": "Berlin",
          "Opened": null,
          "NumberofSeats": 45
        },
        {
          "Name": "Burgers",
          "TypeName": "Fast food",
          "Address": "Broad St. 543",
          "City": "Cracow",
          "Opened": null,
          "NumberofSeats": 54
        }
      ]
  </code></pre>