title: How to access JSON array inside named object?
body: <p>I'm building an Android app for displaying school timetable, with the JSON data coming from a URL. However the JSON is formatted in a way that the needed arrays are inside a named "lessons" object. How would it be possible to get access to the arrays I need?</p>
  
  <pre><code>This is how my JSON looks
  
  {
      "week": "2019-04-01",
      "times": {
          "1": "07:00-08:29",
          "2": "08:30-10:00",
          "3": "10:15-11:45",
          "4": "11:55-14:00",
          "5": "14:10-15:40",
          "6": "15:45-17:15",
          "7": "17:20-18:50",
          "8": "18:55-20:25",
          "9": "20:35-22:05",
          "lunch": "12:40-13:15"
      },
      "lessons": {
          "2019-04-01": [{
                  "lesson": "2",
                  "start": "08:30",
                  "end": "10:00",
                  "subject": "PHP",
                  "group": "IS117",
                  "teacher": "Jane Doe",
                  "room": "A-222"
              }
          ]
      },
      "last update": "2019-03-28 17:02:02"
  }
  
  </code></pre>