Thank you Free Code Camp for sharing my JSON crash course video. If anyone has any questions or comments let me know by replying to this comment, and I will reply as quickly as possible.
@januwee63566 жыл бұрын
Web Dev Simplified how do i access the json file from js without putting the same json to a variable?
@WebDevSimplified6 жыл бұрын
@@januwee6356 It depends on how you are using the JavaScript. If you are running a server with Node.js and want to access the file on the server than you would need to open and read the file with fs. If you are running the JavaScript in the browser then you cannot access the file directly since it lives on the server, so you will either need to read it form an API or you will need to send the JSON to the front end JavaScript from the server. In the latter option the server will be the one that reads the file, and then just sends it to the front end.
@januwee63566 жыл бұрын
Web Dev Simplified okay thanks. I enjoyed your video :) Instant sub to your channel.
@WebDevSimplified6 жыл бұрын
@@januwee6356 Thanks for the support! I really appreciate it.
@kevyyar6 жыл бұрын
What scenarios or real world examples can this be applied? I would love to watch a live example of real world use in a tutorial. I'll check out your channel.
@nordicdev-jmk6 жыл бұрын
Watched and Practiced with Him, My Concept about JSON is Fully Clear Now.
@WebDevSimplified6 жыл бұрын
I'm glad I could help.
@balajig70116 жыл бұрын
worthy 12 minutes in a day
@WebDevSimplified6 жыл бұрын
I'm really glad you enjoyed it!
@thiagosilvafarias5 жыл бұрын
Just an observation. On 9:45 you used backticks ( ` ) also known as a grave accent (what is not the same of a single quote). This is called Template literals, both quotes and apostrophes can be used safely without any sort of extra escaping or consideration. Template literals provide multi-line support as well.
@lank_asif6 жыл бұрын
Thank you for the noob friendly tutorial that explained the subject matter very clearly. I love this channel and what it represents.
@WebDevSimplified6 жыл бұрын
Thanks. I focus on trying to make videos that people of all levels of experience can understand, since learning web development is challenging enough as is.
@lank_asif6 жыл бұрын
@@WebDevSimplified Well I, and others, are very thankful for your efforts.
@WebDevSimplified6 жыл бұрын
@@lank_asif I am incredibly thankful to have amazing people like you watching my videos.
@lank_asif6 жыл бұрын
@@WebDevSimplified I can honestly state that is is our pleasure. Cheers, friend.
@deminouk83475 жыл бұрын
Lank Asif I love noob friendly
@AVINASH__SHARMA11 ай бұрын
small correction at 1:04 json is subset of javascipt not superset!
@codenameFourtySeven5 жыл бұрын
Top Effort! I learnt everything I need to about JSON! Legend
@luisf71052 жыл бұрын
Thank you sooooo much for this upload, it was really helpful... Only thing , you were confusing me with semicolon (;) colon (:).👊🏽
@klajdipepa26543 жыл бұрын
I'm constantly trying to find more time to watch videos from this channel!
@gregfletcher75146 жыл бұрын
Great beginners guide! Thank you!
@WebDevSimplified6 жыл бұрын
You are very welcome!
@BryantCabrera6 жыл бұрын
Thank you for this crash course! Btw, you are so handsome 😍
@WebDevSimplified6 жыл бұрын
Thank you and thank you again. You are too kind.
@PaulMihail3 жыл бұрын
Your videos are amazing! Please keep up the good work!
@dennisbunarta1190 Жыл бұрын
I love this guy!! God bless him!
@1234mohitmhatre6 жыл бұрын
Dude Thanks Great Video finally I understand json a huge thumbs up to you bro
@WebDevSimplified6 жыл бұрын
Thanks! I am really glad the video was able to help.
@ndrakeb89263 жыл бұрын
JSON concept is clear now. Thank You for simplifying :)
@6662223331116 жыл бұрын
Saved, going to have a look later. :)
@WebDevSimplified6 жыл бұрын
I hope you enjoy it!
@chargoy91786 жыл бұрын
Great video, simple and focus. Thanks
@WebDevSimplified6 жыл бұрын
Thanks you!
@samuelosoba6 жыл бұрын
very useful! simple and straight forward.
@WebDevSimplified6 жыл бұрын
Thank you!
@leo_nidas2 жыл бұрын
Extremely helpful! Thank you!
@pratham57464 жыл бұрын
Definitely worth 12 minutes instead of wasting time and doing nothing
{ “message”: “Yeah you are right”, “rating”: 10, “like”: true }
@ramankumar41 Жыл бұрын
Thanks dude great work !!!
@ankitvashisht73506 жыл бұрын
Very good explanation.love it 😘
@WebDevSimplified6 жыл бұрын
Thank you!
@ankitvashisht73506 жыл бұрын
@@WebDevSimplified I also subscribed your channel. It also has great content 😘😍. Thank you so much ! 🤗
@mohammadahmedragab8372 жыл бұрын
thank you so much, simple, concise , excellent explanation of JSON :)
@udhayasankar1136 жыл бұрын
Excellent explanation...
@WebDevSimplified6 жыл бұрын
Thank you!
@joep11315 жыл бұрын
very very good to the point and clean and short thanks
@jrobinsam6 жыл бұрын
Could have included JSON.stringify explanation too...Good work..!!
@WebDevSimplified6 жыл бұрын
Thanks! JSON.stringify is a really useful function, especially for debugging, but I wanted to keep this course as light as possible on the JavaScript, since the main purpose was to learn JSON. I only included the JavaScript section to showcase how JSON can be easily used in any language, especially JavaScript.
@chavakahana82372 жыл бұрын
Thank you - your explanation is clear and very helpful
@stephenoshaughnessy2279 Жыл бұрын
Now that we've gotten to fetch in your javascript course, I need to get JSON experience.
@utcca77586 жыл бұрын
Jason! Jason! Json! Haha good explanation video.
@WebDevSimplified6 жыл бұрын
Thanks. I feel like all web development names and acronyms are quite unintuitive in how they should be pronounced.
@rajesht97024 жыл бұрын
Thank you So much @Web Dev Simplified
@linhang39426 жыл бұрын
tks for explanation !
@WebDevSimplified6 жыл бұрын
You are welcome!
@brandonguerrero94856 жыл бұрын
You meant to say colon after the key values I think. I got it though no worries!
@WebDevSimplified6 жыл бұрын
Yeh. I realized that when I was editing the video, but didn't want to re-record and edit everything to fix it. I'm glad it didn't trip you up.
@fafelo305 ай бұрын
very useful, thanks
@md99364 жыл бұрын
thanks a lot for share great video man!
@milankbudha3 жыл бұрын
freecodecamp and web dev simplified are best
@SubhanAli-mb4ny6 жыл бұрын
nice video dear.... thanks
@WebDevSimplified6 жыл бұрын
You're very welcome.
@HasithaSameeraNova6 жыл бұрын
Well explained. Thanks!
@WebDevSimplified6 жыл бұрын
You're welcome!
@rohittanwer81266 жыл бұрын
Hmm.... One more nice video. Ok gonna see it now
@WebDevSimplified6 жыл бұрын
Thanks! I hope you enjoyed it.
@glgeorgiou6 жыл бұрын
Very interesting introductory video. How can i link and call an external json file instead of importing into the .html file?
@WebDevSimplified6 жыл бұрын
This would be done most likely through an API which will return JSON data. Another way would be to tell your server to set a JavaScript variable before rendering the page so you have access to the JSON on the client.
@electricaura_13 жыл бұрын
Thanks bro!
@Faizy_Ahmad4 жыл бұрын
Great Place to learn
@sabuein2 жыл бұрын
Thank you.
@d74g0n6 жыл бұрын
2:32 "undefined" ?
@WebDevSimplified6 жыл бұрын
Undefined is actually not a valid JSON value even though it is valid JavaScript. You would need to use null instead of undefined for JSON.
@reassume48266 жыл бұрын
Thanks
@WebDevSimplified6 жыл бұрын
You are welcome!
@H76Pro4 жыл бұрын
Thank you :) Excellent explanation and easy to follow :) but I did get an error in the console when using json.parse "Uncaught SyntaxError: Unexpected token n in JSON at position 22"
@molokomokubedi6313 жыл бұрын
Thanks!!
@Albovsky5 жыл бұрын
Thanks for the video. Just one remark: even thought I got general idea about JSON one question remain unclear: why does it even exist in the first place? How do I use it in my project? What another options?
@marcmesser67663 жыл бұрын
Sending some data from the server to the client so it can be displayed on the web page or vice versa
@predo20686 жыл бұрын
Awesome video! Everything is comprehensive and It's a good start for beginners. 'Looking forward to next videos ;)
@WebDevSimplified6 жыл бұрын
Thanks. I try to make all my videos focused on giving as much quality content as possible without being needlessly complicated.
@RaghavKhullar5 жыл бұрын
Worth it!!
@HumeraSheikh-s2p Жыл бұрын
thank you
@motivation_guru_934 жыл бұрын
Hi What code editor do you use ? Is it ATOM or Sublime ?
@danishfaridi85644 жыл бұрын
Worth the time
@easirmaruf70616 жыл бұрын
just awesome
@WebDevSimplified6 жыл бұрын
Thank you!
@ackukoyi5 ай бұрын
Would you happen to have any more tutorials on JSON? If you do, please send me the link. Thanks. Ade
@eduarduskresnapurnama21135 жыл бұрын
Is json is a new way to write javascript? So why we must write with .json, why not write that syntax on .js?
@freecodecamp5 жыл бұрын
json is not a new way to write JavaScript. It is a method of formatting data that is often used in JavaScript. You can create it in a .js file.
@carmelomotolese2876 жыл бұрын
New series? So goooood :)
@WebDevSimplified6 жыл бұрын
I have a full series of videos similar to this video where I breakdown a topic in as short amount of time as possible. The CSS crash course on the freecodecamp channel is another example of one of my videos of this style. Check out the playlist on my channel.
@Sage162266 жыл бұрын
great video
@WebDevSimplified6 жыл бұрын
Thanks!
@esra_erimez6 жыл бұрын
By the way, YAML 1.2 *is* a superset of JSON.
@WebDevSimplified6 жыл бұрын
Interesting. I I have been using YAML for awhile now and didn't realize it could parse JSON as well. The syntax is so dissimilar I just assumed they were differnt.
@esra_erimez6 жыл бұрын
JSON syntax is a basis of YAML version 1.2, which was promulgated with the express purpose of bringing YAML "into compliance with JSON as an official subset" From: yaml.org/spec/1.2/spec.html "The primary objective of this revision is to bring YAML into compliance with JSON as an official subset."
@WebDevSimplified6 жыл бұрын
@@esra_erimez that's really cool. Thanks for sharing. I've learned so much from smart people like you since I started making videos. I love it.
@femaledeer6 жыл бұрын
It seems like copying the Json code without quotes and copying the json code with quotes and then parsing it, accomplished the same, so I don’t understand why you would want to copy it as a string.
@WebDevSimplified6 жыл бұрын
The reason I copied it as a string is because if you read the JSON from a file, or an API it will be returned as a string and not an object. I wanted to show how to parse JSON that is in a string format since that is the most common way you will interact with JSON.
@christooss6 жыл бұрын
So is JSON basically Python Dictionary in a implemented JS file? Learning both Web development and Python so I don't know how much these two things differ.
@WebDevSimplified6 жыл бұрын
JSON is just a data format which is used to store data in a uniform way. A dictionary is another way to store data but it does not support complex data structures as well as JSON and is not easy to send or parse that data other than in the program it was written for. JSON is used mostly to send data between applications while dictionaries are mostly for within an application.
@esra_erimez6 жыл бұрын
Interesting choice of hair style.
@WebDevSimplified6 жыл бұрын
Thanks. I will take that as a compliment.
@esra_erimez6 жыл бұрын
You're welcome. It was a compliment
@smellthel4 жыл бұрын
Thank you br0ther
@gmkhallyu2 жыл бұрын
Is there a way I can turn this information into a table for my website? It's mostly for my music collection so I have information about bitrate, file format, year released etc.
@khaledabdelaziz3576 жыл бұрын
nice
@WebDevSimplified6 жыл бұрын
Thanks.
@thonglequang97952 жыл бұрын
I run the code in VSCode but there is nothing in my debugger console. It said "No debugger available, can not send 'variables' ". Where is my missing extension in my VSCode ?
@augischadiegils.51092 жыл бұрын
❤️❤️❤️
@stebbi13375 жыл бұрын
Dude.... You are beautiful :)
@kartikmalani70044 жыл бұрын
Great!!!!
@oksanahladushchak40765 жыл бұрын
How do you open console in Visual Studio code for running html file? Thank you
@nyubisensei13223 жыл бұрын
I tried to show me my data in the browser, like in the video but for some reason its empty, the only thing that I can see is the Title. Any knows why ?
@HumeraSheikh-s2p Жыл бұрын
learn by doing
@liamdavis4925 жыл бұрын
4:20 you mean colon, right?
@ahmedthegreat39734 жыл бұрын
Can I Use It To Save The Email A User Is Signed It Currently?
@Enrish1236 жыл бұрын
I don't get that why don't you just make these objects with arrays and so on in your vanilla JavaScript? You are copying it anyway in the same form. Thank you for an answer. :)
@Enrish1236 жыл бұрын
Is it just to have an overview of objects?
@WebDevSimplified6 жыл бұрын
The point of the video is not to learn JavaScript but instead to learn JSON. JSON has a different syntax than JavaScript objects so I had to show how to make JSON in its own file. I then copied it over to show that JSON can be integrated easily with JavaScript and how you can convert from strings to objects.
@Enrish1236 жыл бұрын
I see. Thank you :)
@bernardwodoame98502 жыл бұрын
Bro isn't there a way to get the Json by not manually copying the code?
@HumeraSheikh-s2p Жыл бұрын
Learn Json nice
@ryanclemons14 жыл бұрын
I watched this video then made a full AAA game.
@rgby13674 жыл бұрын
json is way easier than i thought...
@aleezasmith3925 жыл бұрын
Hi sir,I am using datatable, but it is showing me datatable error json invalid response error
@aleezasmith3925 жыл бұрын
How I can fix it please help me
@speedlearner5 ай бұрын
Can JSON be parsed by using Javascript? I know that XML can't be parsed with Javascript. If anyone wants to parse XML, they either have to use SQL or the eXist database. I hope you can answer my question.
@gz34426 жыл бұрын
make other json vs xml plz
@hansjorgenclausen643711 ай бұрын
In the video you keep saying semi-colon, but you are showing colon.
@dwiforex3 жыл бұрын
✅
@NotImpossible6 жыл бұрын
and how we can bypass json login ,,, thank you
@yahiabajbouj56886 жыл бұрын
What is mean a crash ?
@WebDevSimplified6 жыл бұрын
A crash course is a saying people use when talking about an introductory course that covers the most important concepts of a topic but does not go into super deep breakdowns.
@johnweir31682 жыл бұрын
This is a colon : This is a semicolon ;
@ankitvashisht73506 жыл бұрын
First view 😀
@WebDevSimplified6 жыл бұрын
You beat me by quite a bit 😜
@ankitvashisht73506 жыл бұрын
@@WebDevSimplified yupp ! Approx 4 min. 🤣
@sliceoflife58122 жыл бұрын
Ayo that's my name
@macknstyle8 ай бұрын
semicolon(;) != colon(:)
@cyborgdale Жыл бұрын
You keep saying "semicolon" whereas you show (and mean) "colon". Please correct this.
@mrgamerpug62484 жыл бұрын
NICE NICE
@poornarammohan29498 ай бұрын
hello
@mrgamerpug62484 жыл бұрын
Hi Hi..
@stephennehemiah6 жыл бұрын
No Stack to Full Stack LoL
@WebDevSimplified6 жыл бұрын
That is the hope 😜
@tselgertenger86274 жыл бұрын
10Q
@HumeraSheikh-s2p Жыл бұрын
test comment
@sed44544 жыл бұрын
the tutorial guy was a stoner
@paulcurious23246 жыл бұрын
"as a programmer or as web developer" - excuse me! :/
@WebDevSimplified6 жыл бұрын
What is wrong with this statement?
@paulcurious23246 жыл бұрын
@@WebDevSimplified i really don't care if anything's wrong with it - just felt like creating a scene(lol)