1
00:00:00,510 --> 00:00:03,440
So now as you can see I have this takes the fight here.

2
00:00:03,600 --> 00:00:06,490
I just need to select all of these values.

3
00:00:06,690 --> 00:00:07,680
Comment A.

4
00:00:07,830 --> 00:00:14,350
And then I right click on these values and then copy them OK and then paste these values here.

5
00:00:15,560 --> 00:00:18,440
And then here click on this validate the sun.

6
00:00:18,860 --> 00:00:21,340
So as you can see here now we can see these values better.

7
00:00:21,590 --> 00:00:29,870
So here as you can see we have this starting curly brace as you can see here and here at the end I have

8
00:00:29,930 --> 00:00:35,780
these this end in cold place and this means that we have a top level Dasent object.

9
00:00:35,800 --> 00:00:43,240
OK remember that I told you that we have adjacent object and this means that we have these starting

10
00:00:43,240 --> 00:00:49,670
curly brace here and that ending curly brace means that we have a top level object and we want you to

11
00:00:49,670 --> 00:00:51,360
go inside the statement object.

12
00:00:51,380 --> 00:00:51,730
OK.

13
00:00:51,770 --> 00:00:57,460
So now for example I am inside the states on object and here as you can see we have these results count

14
00:00:57,470 --> 00:00:59,020
50 right.

15
00:00:59,240 --> 00:01:04,300
And here we can actually get this value by actually using these pacu results count.

16
00:01:04,310 --> 00:01:07,510
And as you can see here this value is of type Integer.

17
00:01:07,910 --> 00:01:12,170
And as you can see here we have these results here.

18
00:01:12,170 --> 00:01:15,090
This result is actually attacked right colon.

19
00:01:15,170 --> 00:01:17,500
And as you can see here we have this it here.

20
00:01:17,660 --> 00:01:19,610
This bracket means an hourly.

21
00:01:19,670 --> 00:01:20,020
OK.

22
00:01:20,030 --> 00:01:24,330
An array of Jasen objects as you can see here an ARI.

23
00:01:24,500 --> 00:01:30,470
And as you can see here we have this starting curly brace and as you can see here you have this incredible

24
00:01:30,510 --> 00:01:31,010
incredibly.

25
00:01:31,130 --> 00:01:38,240
And this means one Dasent object as you can see here this means once one is an object in site is.

26
00:01:38,600 --> 00:01:45,540
So this it here means this starting placket here means of you have actually an array of Jasen objects.

27
00:01:45,680 --> 00:01:52,810
So this means that if you want to for example get this value result count I want you to go inside.

28
00:01:52,810 --> 00:01:57,170
This is an object which as you can see here this is the starting curly brace.

29
00:01:57,230 --> 00:02:02,590
And here if I scroll down all the way to the bottom here this is actually the Indian curl brace.

30
00:02:02,600 --> 00:02:03,260
OK.

31
00:02:03,260 --> 00:02:09,490
So if we enter if we want to for example access this result count I need to go inside the states and

32
00:02:09,530 --> 00:02:09,950
object.

33
00:02:09,950 --> 00:02:13,480
So I need to refer to this toplevel just an object.

34
00:02:13,670 --> 00:02:17,720
And inside is just object we have another or others based on objects.

35
00:02:17,720 --> 00:02:23,480
As you can see here results as you can see if you have an array of Jason objects we have this starting

36
00:02:23,480 --> 00:02:27,430
bracket here as you can see and inside this bracket I have this starting.

37
00:02:27,650 --> 00:02:29,820
As you can see starting a calibrates.

38
00:02:29,960 --> 00:02:34,130
And as he has it here this is the starting curly brace and this is the end in curly brace as you can

39
00:02:34,130 --> 00:02:34,830
see here.

40
00:02:34,910 --> 00:02:38,970
And again we have this karma in order to separate the adjacent objects.

41
00:02:38,990 --> 00:02:44,300
Again we have another Dasent object as you can see and hear it bends as you can see.

42
00:02:44,300 --> 00:02:49,250
And again comma we have another date object and all the way if you scroll down to the bottom of the

43
00:02:49,250 --> 00:02:50,020
page.

44
00:02:50,240 --> 00:02:57,110
Now you can see that this is going to be the ending actually the ending bracket as you can see here.

45
00:02:57,110 --> 00:02:58,790
So this is going to be the end of arii.

46
00:02:58,940 --> 00:03:03,190
So we have an army of Jason objects OK.

47
00:03:03,440 --> 00:03:04,420
As you can see here.

48
00:03:04,580 --> 00:03:10,190
So if you want to actually go and get these values we need to actually get these Jasen objects first.

49
00:03:10,190 --> 00:03:13,850
First I need to actually refer to the top level adjacent object.

50
00:03:14,060 --> 00:03:18,680
And then I need to actually go inside this Jason Aure as you can see here.

51
00:03:18,890 --> 00:03:23,200
And then I can actually access this chase an object in order to access these values.

52
00:03:23,390 --> 00:03:24,820
Ok this is very important.

53
00:03:24,830 --> 00:03:28,340
I need to access this Jasen object as you can see here.

54
00:03:28,340 --> 00:03:29,910
For example this is an object the key.

55
00:03:30,050 --> 00:03:35,160
This is the starting curly brace and this is the end in curly brace of distaste an object.

56
00:03:35,180 --> 00:03:41,720
So all you need to access this an object in order to access these values for example wrappers type kind

57
00:03:41,940 --> 00:03:43,250
of this idea collection.

58
00:03:43,260 --> 00:03:46,500
Id track the artist name in on all of these values.

59
00:03:46,910 --> 00:03:49,290
So how can I do that first.

60
00:03:49,310 --> 00:03:54,260
Let's actually go to our Android studio and here I actually created this myth.

61
00:03:54,260 --> 00:03:55,490
It gets strange.

62
00:03:55,490 --> 00:03:57,940
And this actually accepts two arguments.

63
00:03:58,070 --> 00:04:00,030
The first point is actually the paginate.

64
00:04:00,050 --> 00:04:01,370
So you know what is it happening.

65
00:04:01,370 --> 00:04:03,390
The name is for example this wrapper type.

66
00:04:03,440 --> 00:04:03,750
OK.

67
00:04:03,770 --> 00:04:08,540
And we need to actually and we can actually get this thing value or this kind and we can try to get

68
00:04:08,540 --> 00:04:09,650
this signed value.

69
00:04:09,740 --> 00:04:12,820
So this is actually these are these values are actually the type.

70
00:04:12,950 --> 00:04:14,740
OK the tag names.

71
00:04:14,780 --> 00:04:19,310
So this is if it actually accepts two arguments the first one is the tag name and the second one is

72
00:04:19,310 --> 00:04:20,660
the adjacent object.

73
00:04:20,780 --> 00:04:27,440
So for example if I want to actually access these values disturbers type kind attract name artist name.

74
00:04:27,620 --> 00:04:30,770
I need to access this an object as you can see here.

75
00:04:30,800 --> 00:04:38,370
So that's why this move and accepts an argument of type Object and it's actually froze adjacent exception.

76
00:04:38,390 --> 00:04:42,520
So we need to handle that exception of any We use this method.

77
00:04:42,710 --> 00:04:46,280
And insight is if it is return Jaison object.

78
00:04:46,280 --> 00:04:52,250
So here I am actually fairly and to the name of this adjacent object argument as you can see here Jason

79
00:04:52,270 --> 00:04:54,170
objects that get strange.

80
00:04:54,170 --> 00:05:01,120
So here we want to for example get this string ready ok get strange tagged name and as you can see here

81
00:05:01,130 --> 00:05:02,290
this is going to be the paginate.

82
00:05:02,300 --> 00:05:06,670
So we have this tag name as a as an argument as you can see here.

83
00:05:06,680 --> 00:05:07,560
Right.

84
00:05:07,670 --> 00:05:14,510
So this is going to help us in order to get the values the string values that we can actually get from

85
00:05:14,510 --> 00:05:15,490
our adjacent objects.

86
00:05:15,500 --> 00:05:20,270
For example example as you can see these values that are inside the double coats are actually the adjacent

87
00:05:20,420 --> 00:05:22,870
values are actually are the string values right.

88
00:05:22,880 --> 00:05:28,940
So here as you can see if we can use this method get three inch in order to get these values that are

89
00:05:28,940 --> 00:05:30,290
inside the double quotes.

90
00:05:30,380 --> 00:05:35,500
Or I can actually get this a kind as you can see this is the tag name right.

91
00:05:35,510 --> 00:05:38,210
So always remember that tag names are of types 3.

92
00:05:38,240 --> 00:05:38,970
OK.

93
00:05:38,990 --> 00:05:44,000
So this kind and as you can see here is some that are that is actually inside this inside these double

94
00:05:44,000 --> 00:05:46,730
Coats is actually strange.

95
00:05:46,820 --> 00:05:50,120
So I can use this method in order to get disvalue sank.

96
00:05:50,360 --> 00:05:56,610
And as you can see here this artist ID is night the value of this art artist ID is not of type string.

97
00:05:56,660 --> 00:05:59,310
So I can't use this method.

98
00:05:59,300 --> 00:06:03,630
This string method in order to access the value of the artist ID.

99
00:06:03,710 --> 00:06:06,280
I need to use another Meffert for example gets in it.

100
00:06:06,440 --> 00:06:08,740
So let's actually create that method here.

101
00:06:08,750 --> 00:06:13,190
So as you can see here we have this gets filtered here in order to get a floating point number.

102
00:06:13,220 --> 00:06:18,350
So as you can see here for example collection price is actually a floating point number right track

103
00:06:18,360 --> 00:06:21,500
your price is actually a float floating point number.

104
00:06:21,770 --> 00:06:22,430
OK.

105
00:06:22,580 --> 00:06:27,780
So for example let's actually create another MFL in order to get the integer values.

106
00:06:27,830 --> 00:06:37,830
Ok so I can just type in private static string private static strange and this time I can just type

107
00:06:37,830 --> 00:06:39,470
in get in.

108
00:06:40,270 --> 00:06:48,910
And decide if it is going to again accept an argument of type 3 and its name is Tacony comma and it's

109
00:06:48,910 --> 00:06:56,560
going to actually accept another argument which is a set of type Jasen object Jason object Jaison object

110
00:06:57,040 --> 00:07:00,230
as you can see the name of this argument is the same object.

111
00:07:00,290 --> 00:07:07,100
And if it actually froze object and exception froze Jaison exception.

112
00:07:07,950 --> 00:07:08,610
OK.

113
00:07:08,620 --> 00:07:12,120
And then I need to open and close this method by using these curly braces.

114
00:07:12,310 --> 00:07:14,360
And here I can just type in return.

115
00:07:14,570 --> 00:07:20,600
Jason an object that gets as you can see here we have all these methods.

116
00:07:20,710 --> 00:07:23,080
Get in get double get stranded bullier.

117
00:07:23,090 --> 00:07:27,810
Jason get this and I take it they an uptick that can get class.

118
00:07:27,820 --> 00:07:30,950
So at this point at this time I want to use this method you get it.

119
00:07:31,000 --> 00:07:32,640
So I just need to select it.

120
00:07:32,650 --> 00:07:38,550
And at present Enter key on my keyboard and here I can't just refer to the name of this tag name.

121
00:07:38,890 --> 00:07:44,590
So if I want to actually to get the integer value for example this collection price or this collection

122
00:07:44,620 --> 00:07:52,740
ID as you can see here which actually holds this value its initial value I can use this tag name collection

123
00:07:52,750 --> 00:07:56,120
ID as you can see here in order to access this value.

124
00:07:56,240 --> 00:08:00,000
And remember if you have another method get Lanc.

125
00:08:00,090 --> 00:08:00,730
OK.

126
00:08:00,790 --> 00:08:05,750
In order to get for example values which are of type A launch as you can see here.

127
00:08:05,800 --> 00:08:10,540
So if you have this type of ID and as you can see here that the target name is F-Type strange as you

128
00:08:10,540 --> 00:08:11,340
can see here.

129
00:08:11,400 --> 00:08:13,720
My name is also of type string.

130
00:08:13,720 --> 00:08:14,370
Right.

131
00:08:14,620 --> 00:08:18,930
So I can't use this tag name in order to access this value.

132
00:08:18,940 --> 00:08:19,770
This integer value.

133
00:08:19,780 --> 00:08:21,010
Right.

134
00:08:21,040 --> 00:08:23,230
So hopefully that makes sense.

135
00:08:23,380 --> 00:08:28,300
And here as you can see if you have an error here and let's see what's the.

136
00:08:28,300 --> 00:08:33,770
So as you can see here I made a mistake here and this if it needs to return a value of type integer.

137
00:08:33,880 --> 00:08:38,380
So because if you want to actually for example get this integer value.

138
00:08:38,710 --> 00:08:42,820
I created this Smif it up private static get in.

139
00:08:42,880 --> 00:08:49,480
In order to actually use this tag name as you can see here this tag name for example track ID in order

140
00:08:49,480 --> 00:08:51,640
to access this value right integer.

141
00:08:51,730 --> 00:08:54,640
So this method is going to return an integer value.

142
00:08:54,640 --> 00:08:58,370
So the return type must be integer as you can see here.

143
00:08:58,570 --> 00:09:00,940
And that's why the compiler was complaining.

144
00:09:01,000 --> 00:09:06,440
So I fixed that error by using this int this keyboard int here.

145
00:09:06,610 --> 00:09:10,990
In order to let the compiler know that this method is going to return an integer value.

146
00:09:10,990 --> 00:09:14,920
And here we are actually returning that integer value.

147
00:09:14,920 --> 00:09:16,400
Jason object that gets in.

148
00:09:16,420 --> 00:09:19,100
So he's going to get the integer value of this Tacony.

149
00:09:19,300 --> 00:09:24,870
So the tagged names in the middle are these values in say double quotes right.

150
00:09:24,970 --> 00:09:28,710
So now hopefully you can understand what's going on here.

151
00:09:28,720 --> 00:09:30,260
So we have another method gets flawed.

152
00:09:30,280 --> 00:09:33,300
So this method is going to show a return a floating point number.

153
00:09:33,340 --> 00:09:40,660
So it's a private static float float string tag name again it's going to accept an argument of type

154
00:09:40,940 --> 00:09:42,910
strange and its name is tagged name.

155
00:09:43,060 --> 00:09:48,880
And the second argument that this method actually accepts is of type an object and its name is just

156
00:09:48,880 --> 00:09:49,420
an object.

157
00:09:49,420 --> 00:09:56,200
And this may for the floors adjacent exception and it returns as you can return just an object that

158
00:09:56,200 --> 00:10:02,560
get double double value tagged name and in here as you can see we can just get the double value.

159
00:10:02,620 --> 00:10:03,100
OK.

160
00:10:03,190 --> 00:10:08,950
If you want to actually explicitly get the float value I need to cast that value to a float value.

161
00:10:09,040 --> 00:10:17,440
So it's not going to actually take lots of memory but using this flawed data type you can actually use

162
00:10:17,440 --> 00:10:19,730
less memory in our application.

163
00:10:19,750 --> 00:10:20,300
OK.

164
00:10:20,500 --> 00:10:26,960
Because a double values are going to actually hold more decimal digits and these values are more precise

165
00:10:27,580 --> 00:10:33,280
but floating point numbers are going to take less memory and I think for these values of floating point

166
00:10:33,280 --> 00:10:39,220
numbers is better okay for the adjacent objects but you can actually use gettable in order to get the

167
00:10:39,220 --> 00:10:40,660
double value.

168
00:10:40,660 --> 00:10:45,790
So now as you can see I am actually referring to the states and update that get double tagged name.

169
00:10:45,940 --> 00:10:52,060
And here I want to get the floats value so I just cast this value to the floating value float and then

170
00:10:52,060 --> 00:10:53,430
I am returning that value.

171
00:10:53,440 --> 00:10:54,160
OK.

172
00:10:54,610 --> 00:10:59,740
So here I can actually create another Meffert in order to actually get a boolean value.

173
00:10:59,740 --> 00:11:01,260
For example yes or no.

174
00:11:01,300 --> 00:11:02,370
True or false.

175
00:11:02,440 --> 00:11:10,540
So I can't just type in private static the return type is going to be boolean and the name of this is

176
00:11:10,540 --> 00:11:12,800
going to be get Boulia.

177
00:11:13,540 --> 00:11:14,040
OK.

178
00:11:14,290 --> 00:11:18,490
And then again this is going to accept arguments of type.

179
00:11:18,490 --> 00:11:23,490
The first one is going to be of type 3 and and its name is going to be tagged name and comma.

180
00:11:23,680 --> 00:11:28,420
And the second argument that is if it is going to accept it's going to be offtake Jason object

181
00:11:31,300 --> 00:11:33,930
and it's name is Jasen object.

182
00:11:34,240 --> 00:11:41,710
And then this person actually froze and exception Jason exception and then I need to open and close

183
00:11:41,710 --> 00:11:45,630
this method by using these curly braces return.

184
00:11:45,640 --> 00:11:54,730
So here I need to refer to the name of this recent object so adjacent object that gets you'll get boolean

185
00:11:56,340 --> 00:12:02,130
and we need to pass this tag name here and then at the end of my statement I need to use the I need

186
00:12:02,130 --> 00:12:06,360
to actually put a semicolon here so hopefully that makes sense.

187
00:12:06,360 --> 00:12:13,440
So there is also another important method that we need to actually add to our class inside this Jason

188
00:12:13,470 --> 00:12:15,120
iTunes part of the class.

189
00:12:15,120 --> 00:12:18,820
So inside our class this is another method that you want to add.

190
00:12:18,830 --> 00:12:20,460
So let's just type in pirates.

191
00:12:20,640 --> 00:12:25,220
So the access modifier of this method is private static.

192
00:12:25,500 --> 00:12:26,870
So this method is static.

193
00:12:26,910 --> 00:12:29,370
So this is going to be as a class method.

194
00:12:29,400 --> 00:12:29,900
OK.

195
00:12:30,150 --> 00:12:37,170
So we can actually use this class name in order to access this method by putting this static key word

196
00:12:37,170 --> 00:12:38,270
here.

197
00:12:38,440 --> 00:12:44,110
And this is going to return a Jaison object this time Jason object.

198
00:12:44,130 --> 00:12:50,150
So that the return type of this Jason method is of this method is going to be Jasen object.

199
00:12:50,220 --> 00:12:56,450
So this method is going to return an object of type Jaison object.

200
00:12:56,460 --> 00:12:57,710
This is very important.

201
00:12:57,900 --> 00:13:00,070
So what is that going to be the name of this method.

202
00:13:00,150 --> 00:13:05,620
The name of this movie is going to be it gets Jaison object.

203
00:13:05,910 --> 00:13:08,270
OK so this is the name of that method.

204
00:13:08,730 --> 00:13:12,060
And then again this is if it is going to actually accept two arguments.

205
00:13:12,060 --> 00:13:15,500
So the first one is going to be strange Tacony.

206
00:13:16,040 --> 00:13:16,800
OK.

207
00:13:17,070 --> 00:13:17,850
Come on.

208
00:13:18,060 --> 00:13:21,960
And the second argument is going to be again of type Jason.

209
00:13:21,990 --> 00:13:25,870
Object based on object Jaison object.

210
00:13:25,980 --> 00:13:33,380
So the name of this argument is an object and this method of adjacent exception Jason exception.

211
00:13:33,430 --> 00:13:37,150
So I need to open and close this method by using these curly braces.

212
00:13:37,290 --> 00:13:48,360
And here inside the Smurfit I can't just type in retailer so return Jason object dots get object that

213
00:13:48,360 --> 00:13:50,140
get Jasen object as you can see here.

214
00:13:50,220 --> 00:13:59,310
So we have this method Jason Updike to get Jason object and we need to pass this tag name here and then

215
00:13:59,340 --> 00:14:02,420
I need to put a semicolon at the end of my statement.

216
00:14:02,430 --> 00:14:04,180
What's the purpose of this method.

217
00:14:04,410 --> 00:14:06,600
This method is going to actually return.

218
00:14:06,600 --> 00:14:08,210
Did Jason object to me.

219
00:14:08,220 --> 00:14:10,110
So what does this mean.

220
00:14:10,440 --> 00:14:12,300
Let's actually open our browser.

221
00:14:12,420 --> 00:14:17,710
So as you can see here this is our web browser and we have this top level adjacent object.

222
00:14:17,940 --> 00:14:24,420
So as you can see here I'll told you that here we have these start in calibers and here all the way

223
00:14:24,420 --> 00:14:25,180
to the bottom.

224
00:14:25,290 --> 00:14:31,620
Scroll down scroll to the bottom of the page here as you can see this is the end in calibrates and this

225
00:14:31,620 --> 00:14:35,370
means that this is actually adjacent object.

226
00:14:35,370 --> 00:14:37,350
This is actually a top level an object.

227
00:14:37,350 --> 00:14:43,200
And if you want to actually access this Dasent object all I need to get the station object as a whole.

228
00:14:43,210 --> 00:14:45,970
OK I need to get this top level just an object.

229
00:14:46,080 --> 00:14:50,620
And that's the job of dismay if it gets some object.

230
00:14:50,640 --> 00:14:56,470
So if for example as you can see if you have these are age and Arey as you can see an insight is Arev

231
00:14:56,470 --> 00:14:58,430
you have decent objects.

232
00:14:58,590 --> 00:15:05,490
OK so if you want to access this Jason object that is inside of this Jason Arey as you can see here

233
00:15:06,290 --> 00:15:10,270
you need to use the Smurfit in order to access this object.

234
00:15:10,500 --> 00:15:12,740
And then you can access these values.

235
00:15:12,750 --> 00:15:19,110
So this method is very important get Jason object tag name just an object and inside the method you

236
00:15:19,120 --> 00:15:22,980
are just through turning just Dasent object that takes an object.

237
00:15:22,980 --> 00:15:30,810
So now inside our chase on iTunes parser class I went to paste in another important method in this class

238
00:15:31,170 --> 00:15:34,490
and then I'm going to explain to you what's going on here.

