So now as you can see I have this takes the fight here.
I just need to select all of these values.
Comment A.
And then I right click on these values and then copy them OK and then paste these values here.
And then here click on this validate the sun.
So as you can see here now we can see these values better.
So here as you can see we have this starting curly brace as you can see here and here at the end I have
these this end in cold place and this means that we have a top level Dasent object.
OK remember that I told you that we have adjacent object and this means that we have these starting
curly brace here and that ending curly brace means that we have a top level object and we want you to
go inside the statement object.
OK.
So now for example I am inside the states on object and here as you can see we have these results count
50 right.
And here we can actually get this value by actually using these pacu results count.
And as you can see here this value is of type Integer.
And as you can see here we have these results here.
This result is actually attacked right colon.
And as you can see here we have this it here.
This bracket means an hourly.
OK.
An array of Jasen objects as you can see here an ARI.
And as you can see here we have this starting curly brace and as you can see here you have this incredible
incredibly.
And this means one Dasent object as you can see here this means once one is an object in site is.
So this it here means this starting placket here means of you have actually an array of Jasen objects.
So this means that if you want to for example get this value result count I want you to go inside.
This is an object which as you can see here this is the starting curly brace.
And here if I scroll down all the way to the bottom here this is actually the Indian curl brace.
OK.
So if we enter if we want to for example access this result count I need to go inside the states and
object.
So I need to refer to this toplevel just an object.
And inside is just object we have another or others based on objects.
As you can see here results as you can see if you have an array of Jason objects we have this starting
bracket here as you can see and inside this bracket I have this starting.
As you can see starting a calibrates.
And as he has it here this is the starting curly brace and this is the end in curly brace as you can
see here.
And again we have this karma in order to separate the adjacent objects.
Again we have another Dasent object as you can see and hear it bends as you can see.
And again comma we have another date object and all the way if you scroll down to the bottom of the
page.
Now you can see that this is going to be the ending actually the ending bracket as you can see here.
So this is going to be the end of arii.
So we have an army of Jason objects OK.
As you can see here.
So if you want to actually go and get these values we need to actually get these Jasen objects first.
First I need to actually refer to the top level adjacent object.
And then I need to actually go inside this Jason Aure as you can see here.
And then I can actually access this chase an object in order to access these values.
Ok this is very important.
I need to access this Jasen object as you can see here.
For example this is an object the key.
This is the starting curly brace and this is the end in curly brace of distaste an object.
So all you need to access this an object in order to access these values for example wrappers type kind
of this idea collection.
Id track the artist name in on all of these values.
So how can I do that first.
Let's actually go to our Android studio and here I actually created this myth.
It gets strange.
And this actually accepts two arguments.
The first point is actually the paginate.
So you know what is it happening.
The name is for example this wrapper type.
OK.
And we need to actually and we can actually get this thing value or this kind and we can try to get
this signed value.
So this is actually these are these values are actually the type.
OK the tag names.
So this is if it actually accepts two arguments the first one is the tag name and the second one is
the adjacent object.
So for example if I want to actually access these values disturbers type kind attract name artist name.
I need to access this an object as you can see here.
So that's why this move and accepts an argument of type Object and it's actually froze adjacent exception.
So we need to handle that exception of any We use this method.
And insight is if it is return Jaison object.
So here I am actually fairly and to the name of this adjacent object argument as you can see here Jason
objects that get strange.
So here we want to for example get this string ready ok get strange tagged name and as you can see here
this is going to be the paginate.
So we have this tag name as a as an argument as you can see here.
Right.
So this is going to help us in order to get the values the string values that we can actually get from
our adjacent objects.
For example example as you can see these values that are inside the double coats are actually the adjacent
values are actually are the string values right.
So here as you can see if we can use this method get three inch in order to get these values that are
inside the double quotes.
Or I can actually get this a kind as you can see this is the tag name right.
So always remember that tag names are of types 3.
OK.
So this kind and as you can see here is some that are that is actually inside this inside these double
Coats is actually strange.
So I can use this method in order to get disvalue sank.
And as you can see here this artist ID is night the value of this art artist ID is not of type string.
So I can't use this method.
This string method in order to access the value of the artist ID.
I need to use another Meffert for example gets in it.
So let's actually create that method here.
So as you can see here we have this gets filtered here in order to get a floating point number.
So as you can see here for example collection price is actually a floating point number right track
your price is actually a float floating point number.
OK.
So for example let's actually create another MFL in order to get the integer values.
Ok so I can just type in private static string private static strange and this time I can just type
in get in.
And decide if it is going to again accept an argument of type 3 and its name is Tacony comma and it's
going to actually accept another argument which is a set of type Jasen object Jason object Jaison object
as you can see the name of this argument is the same object.
And if it actually froze object and exception froze Jaison exception.
OK.
And then I need to open and close this method by using these curly braces.
And here I can just type in return.
Jason an object that gets as you can see here we have all these methods.
Get in get double get stranded bullier.
Jason get this and I take it they an uptick that can get class.
So at this point at this time I want to use this method you get it.
So I just need to select it.
And at present Enter key on my keyboard and here I can't just refer to the name of this tag name.
So if I want to actually to get the integer value for example this collection price or this collection
ID as you can see here which actually holds this value its initial value I can use this tag name collection
ID as you can see here in order to access this value.
And remember if you have another method get Lanc.
OK.
In order to get for example values which are of type A launch as you can see here.
So if you have this type of ID and as you can see here that the target name is F-Type strange as you
can see here.
My name is also of type string.
Right.
So I can't use this tag name in order to access this value.
This integer value.
Right.
So hopefully that makes sense.
And here as you can see if you have an error here and let's see what's the.
So as you can see here I made a mistake here and this if it needs to return a value of type integer.
So because if you want to actually for example get this integer value.
I created this Smif it up private static get in.
In order to actually use this tag name as you can see here this tag name for example track ID in order
to access this value right integer.
So this method is going to return an integer value.
So the return type must be integer as you can see here.
And that's why the compiler was complaining.
So I fixed that error by using this int this keyboard int here.
In order to let the compiler know that this method is going to return an integer value.
And here we are actually returning that integer value.
Jason object that gets in.
So he's going to get the integer value of this Tacony.
So the tagged names in the middle are these values in say double quotes right.
So now hopefully you can understand what's going on here.
So we have another method gets flawed.
So this method is going to show a return a floating point number.
So it's a private static float float string tag name again it's going to accept an argument of type
strange and its name is tagged name.
And the second argument that this method actually accepts is of type an object and its name is just
an object.
And this may for the floors adjacent exception and it returns as you can return just an object that
get double double value tagged name and in here as you can see we can just get the double value.
OK.
If you want to actually explicitly get the float value I need to cast that value to a float value.
So it's not going to actually take lots of memory but using this flawed data type you can actually use
less memory in our application.
OK.
Because a double values are going to actually hold more decimal digits and these values are more precise
but floating point numbers are going to take less memory and I think for these values of floating point
numbers is better okay for the adjacent objects but you can actually use gettable in order to get the
double value.
So now as you can see I am actually referring to the states and update that get double tagged name.
And here I want to get the floats value so I just cast this value to the floating value float and then
I am returning that value.
OK.
So here I can actually create another Meffert in order to actually get a boolean value.
For example yes or no.
True or false.
So I can't just type in private static the return type is going to be boolean and the name of this is
going to be get Boulia.
OK.
And then again this is going to accept arguments of type.
The first one is going to be of type 3 and and its name is going to be tagged name and comma.
And the second argument that is if it is going to accept it's going to be offtake Jason object
and it's name is Jasen object.
And then this person actually froze and exception Jason exception and then I need to open and close
this method by using these curly braces return.
So here I need to refer to the name of this recent object so adjacent object that gets you'll get boolean
and we need to pass this tag name here and then at the end of my statement I need to use the I need
to actually put a semicolon here so hopefully that makes sense.
So there is also another important method that we need to actually add to our class inside this Jason
iTunes part of the class.
So inside our class this is another method that you want to add.
So let's just type in pirates.
So the access modifier of this method is private static.
So this method is static.
So this is going to be as a class method.
OK.
So we can actually use this class name in order to access this method by putting this static key word
here.
And this is going to return a Jaison object this time Jason object.
So that the return type of this Jason method is of this method is going to be Jasen object.
So this method is going to return an object of type Jaison object.
This is very important.
So what is that going to be the name of this method.
The name of this movie is going to be it gets Jaison object.
OK so this is the name of that method.
And then again this is if it is going to actually accept two arguments.
So the first one is going to be strange Tacony.
OK.
Come on.
And the second argument is going to be again of type Jason.
Object based on object Jaison object.
So the name of this argument is an object and this method of adjacent exception Jason exception.
So I need to open and close this method by using these curly braces.
And here inside the Smurfit I can't just type in retailer so return Jason object dots get object that
get Jasen object as you can see here.
So we have this method Jason Updike to get Jason object and we need to pass this tag name here and then
I need to put a semicolon at the end of my statement.
What's the purpose of this method.
This method is going to actually return.
Did Jason object to me.
So what does this mean.
Let's actually open our browser.
So as you can see here this is our web browser and we have this top level adjacent object.
So as you can see here I'll told you that here we have these start in calibers and here all the way
to the bottom.
Scroll down scroll to the bottom of the page here as you can see this is the end in calibrates and this
means that this is actually adjacent object.
This is actually a top level an object.
And if you want to actually access this Dasent object all I need to get the station object as a whole.
OK I need to get this top level just an object.
And that's the job of dismay if it gets some object.
So if for example as you can see if you have these are age and Arey as you can see an insight is Arev
you have decent objects.
OK so if you want to access this Jason object that is inside of this Jason Arey as you can see here
you need to use the Smurfit in order to access this object.
And then you can access these values.
So this method is very important get Jason object tag name just an object and inside the method you
are just through turning just Dasent object that takes an object.
So now inside our chase on iTunes parser class I went to paste in another important method in this class
and then I'm going to explain to you what's going on here.