All language subtitles for 10. Displaying JSON

af Afrikaans
ak Akan
sq Albanian
am Amharic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranรฎ)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:00,780 --> 00:00:03,090 There's just one last pipe I want to show you very quickly. 2 00:00:03,090 --> 00:00:05,980 And to be honest with you this is probably the most useful one. 3 00:00:06,060 --> 00:00:11,770 It's the Jay some pipe Jay some pipe is really just used for debugging purposes and it even says so 4 00:00:11,770 --> 00:00:13,380 on the documentation right here. 5 00:00:13,470 --> 00:00:17,320 We're almost never going to use the Jason pipe inside of a production application. 6 00:00:17,400 --> 00:00:22,380 The goal to Jason pipe is to just take some kind of a data structure that we created in our typescript 7 00:00:22,380 --> 00:00:25,450 code and print it out as Jason on the screen. 8 00:00:25,620 --> 00:00:30,570 We mostly use it for just displaying data that you and I can take a look at it and understand what kind 9 00:00:30,570 --> 00:00:32,560 of data we are actually working with. 10 00:00:32,580 --> 00:00:37,800 It's really almost on par with a console log but the nice thing about this is that whenever some value 11 00:00:37,830 --> 00:00:42,960 updates inside your component Jason Piper will automatically update as well and update the display of 12 00:00:42,960 --> 00:00:44,780 that object on the screen. 13 00:00:44,790 --> 00:00:46,990 Let's take a look at how we use it. 14 00:00:47,050 --> 00:00:52,880 All right I'm gonna go back over to my component and I'm going to initialize new property on the class. 15 00:00:52,880 --> 00:00:58,460 Remember that means I'm going to declare it and assign it a value in one step and I'll do the old classic 16 00:00:58,460 --> 00:00:59,910 example of a car. 17 00:01:00,470 --> 00:01:12,190 I'm gonna say that my car has How about a make of Toyota and a model of Camry and maybe a year of 2000 18 00:01:12,400 --> 00:01:13,120 really old car. 19 00:01:13,990 --> 00:01:18,610 Now if I wanted to print out this property I could obviously do a console log somewhere inside this 20 00:01:18,610 --> 00:01:24,340 component or alternatively I could try to print it out directly on the screen if I did so right now 21 00:01:24,430 --> 00:01:30,070 by going back over to my template went down to the bottom and then writing out simply car and saving 22 00:01:30,070 --> 00:01:30,490 it. 23 00:01:30,490 --> 00:01:35,290 Let's take a look at what happens though when it actually is displayed on the screen it gets displayed 24 00:01:35,290 --> 00:01:36,570 as object object. 25 00:01:36,840 --> 00:01:38,740 Oh definitely not very useful. 26 00:01:38,740 --> 00:01:42,930 No way whatsoever that I can figure out what is going on inside there. 27 00:01:42,960 --> 00:01:50,120 Instead I might take that car and throw it through the Jason height if I save that. 28 00:01:50,430 --> 00:01:55,820 I'll now see that entire object printed out as Jason again just makes it really easy for you to see 29 00:01:55,820 --> 00:01:55,890 it. 30 00:01:55,900 --> 00:01:58,450 What kind of data is flowing around your application. 31 00:01:58,480 --> 00:02:02,440 We're going to use this pipe several times inside this course just for debugging purposes. 32 00:02:02,440 --> 00:02:06,940 We're gonna make sure that we never actually leave it inside of some production deployment again. 33 00:02:06,970 --> 00:02:08,970 A user doesn't really want to see something like this. 34 00:02:08,980 --> 00:02:13,480 It's not appropriate for them unless you're building some kind of very technical application where you 35 00:02:13,480 --> 00:02:18,080 specifically want to see or have your user see some Jason again. 36 00:02:18,120 --> 00:02:21,290 That's pretty much it for the built in pipes in angular. 37 00:02:21,300 --> 00:02:24,090 Now obviously there are several other pipes inside of here. 38 00:02:24,090 --> 00:02:28,650 But to be honest with you they all basically work the same as the ones we just looked at. 39 00:02:28,650 --> 00:02:32,840 There is one other pipe that we're going to look at eventually called the async pipe or we're going 40 00:02:32,840 --> 00:02:34,380 to hold off on that for right now. 41 00:02:34,440 --> 00:02:39,540 That is an extremely useful pipe but you need to know a couple other things about angular before you 42 00:02:39,540 --> 00:02:42,630 can really see the power and the value of it. 43 00:02:42,760 --> 00:02:47,400 So that's it right now on the built in pipes but I would still like to show you how to build our own 44 00:02:47,400 --> 00:02:48,740 pipes as well. 45 00:02:48,830 --> 00:02:50,070 Quick pause right here. 46 00:02:50,070 --> 00:02:51,750 One last little thing in the next video. 4835

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.