‫Hello my friends.
‫Back to our Json file.
‫We see that this file, all the objects are included into array.
‫Into one array.
‫If we scroll down, you can see this array.
‫We've created in the previous videos, this model class, this data class for the album item.
‫But what about this array?
‫I can't fetch the data.
‫In without getting this array.
‫So inside the hierarchy.
‫And my advice to you to start from the smallest thing like we are using smallest item, which is the
‫object going up to into array.
‫So I see here an array.
‫I should create a class that represents this array.
‫So for that I will create a new.
‫Kotlin class.
‫I will name it as albums.
‫This class will.
‫Will be representing an array list of type album item.
‫So.
‫This class is for this array and the class.
‫Album item is for the objects.
‫So this is this class, the object class, which is the album item.
‫And the array here is.
‫Here.
‫The class album.
‫ArrayList Album item.
‫So I am representing the Json array in this class and I'm representing the Json objects inside the array
‫to this class.
‫It may be confusing, but don't worry, guys.
‫If you are following me, don't worry.
‫You will master it and you will see.
‫It's very simple.
‫I am making it very simple.
‫This is a class for this object and this class.
‫Albums are released.
‫Represent.