JSON Explained with JavaScript | JSON Tutorial for Beginners

Dave Gray September 29, 2020
Video Thumbnail

About

Web Development tutorials with full courses on HTML, CSS, JavaScript, React, Node.js and more! My goal is to help you learn how to build the web. Teaching helps me learn, too. I work full-time as a Solutions Architect / Developer and part-time as a university web dev instructor. Thank you for subscribing, supporting my channel and sharing the videos you think may help others. Keep striving for progress over perfection. And a little progress every day goes a very long way. Milestones: July 20, 2020 - 1st video Jan 1, 2021 - 1k subs April 2021 - 4k watch hours Nov 2021 - 10k subs Jan 21, 2022 - Video at 100k views Feb 16, 2022 - 100k watch hours Feb 19, 2022 - 1m views Dec 13, 2022 - 100k subs Dec 2022 - Over 1m views in 1 month April 7, 2023 - 10m views May 26, 2023 - 1m watch hours Sept 22, 2023 - Video at 1m views Dec 25, 2023 - 250k subs

Video Description

Web Dev Roadmap for Beginners (Free!): https://bit.ly/DaveGrayWebDevRoadmap In this JSON Tutorial for Beginners, we cover what JSON is, what JSON is used for, and how to work with JSON in Javascript. ▶ This video is part of the JavaScript Tutorials for Beginners Playlist found here: https://www.youtube.com/playlist?list=PL0Zuz27SZ-6Oi6xNtL_fwCrwpuqylMsgT ✅ Quick Concepts outline: JSON: (00:00) Intro (0:11) JSON === JavaScript Object Notation (0:15) What is JSON and what is it used for? (0:49) Starting with a JavaScript Object (2:10) Convert a Javascript Object to JSON: JSON.stringify() (2:40) Comparing the object to the stringified JSON (3:16) Where's the method? It's gone! (3:38) JSON is definitely string data (4:20) Convert JSON to a Javascript Object: JSON.parse() (5:00) It is an object again! (5:20) Our parsed object does not contain the method (6:00) A summary of the process: From object to JSON string to parsing JSON to create a new object 📚 Further Reading: MDN Web Docs: JSON Object: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON JSON reference: https://www.json.org/json-en.html 📺 More Beginner JS Videos: freeCodeCamp: https://youtu.be/PkZNo7MFNFg Traversy Media: https://youtu.be/hdI2bqOjy3c The Net Ninja: https://youtu.be/iWOYAxlnaww ✅ Follow Me: Twitter: https://twitter.com/yesdavidgray Reddit: https://www.reddit.com/user/DaveOnEleven Medium: https://medium.com/@davegray_86804 #json #tutorial #beginners

You May Also Like

Galaxy S21 Ultra Must-Haves

AI-recommended products based on this video

Loading...
Wireless Charger for Samsung - NANAMI 3 in 1 Charging Station for Multiple Devices,Fast Charger Stand Dock for Galaxy S25 S24 S23 Ultra S22 S21 S20 Z Flip Fold,Galaxy Watch 5/5 Pro/4/3,Galaxy Buds Pro

Wireless Charger for Samsung - NANAMI 3 in 1 Charging Station for Multiple Devices,Fast Charger Stand Dock for Galaxy S25 S24 S23 Ultra S22 S21 S20 Z Flip Fold,Galaxy Watch 5/5 Pro/4/3,Galaxy Buds Pro

(2,272)
$43.99
PrimeFREE delivery Sat, Jun 14
200+ bought in past month
Loading...
45W Super Fast Charger USBC Charger, 2Pack 10FT Samsung Charger Fast Charging Cord Cable& Samsung Type C Charger Block for Galaxy S25 S24 S23 S22 S21 Ultra/Plus, Tab S10 S9 S8 S7,iPad,Android Phone

45W Super Fast Charger USBC Charger, 2Pack 10FT Samsung Charger Fast Charging Cord Cable& Samsung Type C Charger Block for Galaxy S25 S24 S23 S22 S21 Ultra/Plus, Tab S10 S9 S8 S7,iPad,Android Phone

(52)
$22.79
FREE delivery Fri, Oct 3 on your first order
1K+ bought in past month
Loading...
Samsung Galaxy Tab S10 Ultra Gray 256GB - AI Tablet, 14.6", AMOLED 2X, Anti-Reflection, 420 Nits, Vapor Chamber, S Pen Included (CAD Version & Warranty)

Samsung Galaxy Tab S10 Ultra Gray 256GB - AI Tablet, 14.6", AMOLED 2X, Anti-Reflection, 420 Nits, Vapor Chamber, S Pen Included (CAD Version & Warranty)

(77)
$1,099.99$869.90
FREE delivery Wed, Aug 27
50+ bought in past month
Loading...
Elebase USB to USB C Adapter 4 Pack,USBC Female to A Male Car Charger,Type C Converter for iPhone 16 Pro Max,15 14 13 12 11 Plus,Apple Watch iWatch 10 9 8,Airpods,iPad Air Mini 6 7,Samsung Galaxy S25

Elebase USB to USB C Adapter 4 Pack,USBC Female to A Male Car Charger,Type C Converter for iPhone 16 Pro Max,15 14 13 12 11 Plus,Apple Watch iWatch 10 9 8,Airpods,iPad Air Mini 6 7,Samsung Galaxy S25

(54,858)
$12.99
FREE delivery Sat, Jun 14 on your first order
1K+ bought in past month
Loading...
Wireless Charger for Samsung - NANAMI 3 in 1 Charging Station for Multiple Devices,Fast Charger Stand Dock for Galaxy S25 S24 S23 Ultra S22 S21 S20 Z Flip Fold,Galaxy Watch 5/5 Pro/4/3,Galaxy Buds Pro

Wireless Charger for Samsung - NANAMI 3 in 1 Charging Station for Multiple Devices,Fast Charger Stand Dock for Galaxy S25 S24 S23 Ultra S22 S21 S20 Z Flip Fold,Galaxy Watch 5/5 Pro/4/3,Galaxy Buds Pro

(2,272)
$43.99
PrimeFREE delivery Sat, Jun 14
200+ bought in past month
Loading...
Spigen Case for Galaxy S25 Case, Tough Armor (Ai) MagFit [Wireless Charging] Compatible with MagSafe - Black

Spigen Case for Galaxy S25 Case, Tough Armor (Ai) MagFit [Wireless Charging] Compatible with MagSafe - Black

(2,126)
$28.99
FREE delivery Sat, Jun 14 on your first order
500+ bought in past month
Loading...
Spigen Case for iPhone 16 Case, Tough Armor Designed for Apple iPhone 16 - Black

Spigen Case for iPhone 16 Case, Tough Armor Designed for Apple iPhone 16 - Black

(126)
$22.99
FREE delivery Sat, Jun 14 on your first order
50+ bought in past month
Loading...
Spigen Case for iPhone 16 Pro Case, Tough Armor [MagFit] Compatible with MagSafe - Black

Spigen Case for iPhone 16 Pro Case, Tough Armor [MagFit] Compatible with MagSafe - Black

(341)
$32.99
FREE delivery Sat, Jun 14 on your first order
Loading...
Spigen Case for iPhone 16 Plus Case, Tough Armor (AI) [MagFit] Compatible with MagSafe - Black

Spigen Case for iPhone 16 Plus Case, Tough Armor (AI) [MagFit] Compatible with MagSafe - Black

(818)
$29.99
FREE delivery Sat, Jun 14 on your first order
Loading...
Real-Time AI Translation Earbuds - 198 Languages 3-in-1 Translating Device, Écouteurs traducteurs Anglais-français, Clear Voice Translation Headphones with Charging Case for Travel & Learning Global Recycled Standard

Real-Time AI Translation Earbuds - 198 Languages 3-in-1 Translating Device, Écouteurs traducteurs Anglais-français, Clear Voice Translation Headphones with Charging Case for Travel & Learning Global Recycled Standard

(78)
$99.99
FREE delivery Thu, Apr 9
100+ bought in past month
Loading...
SanDisk 256GB Ultra microSDXC UHS-I Memory Card with Adapter - Up to 150MB/s, C10, U1, Full HD, A1, MicroSD Card - SDSQUAC-256G-GN6MA

SanDisk 256GB Ultra microSDXC UHS-I Memory Card with Adapter - Up to 150MB/s, C10, U1, Full HD, A1, MicroSD Card - SDSQUAC-256G-GN6MA

(217,850)
$24.63$19.70
FREE delivery Wed, Aug 20 on your first order
5K+ bought in past month
Loading...
JoyGeek 3-in-1 Magnetic Wireless Charging Station for iPhone 16/15/14/13/12 Series & Apple Watch Ultra 2/SE; 360° Adjustable Phone Stand with 18W Adapter, Compatible with AirPods Pro/3/2 Recycled Claim Standard Blended

JoyGeek 3-in-1 Magnetic Wireless Charging Station for iPhone 16/15/14/13/12 Series & Apple Watch Ultra 2/SE; 360° Adjustable Phone Stand with 18W Adapter, Compatible with AirPods Pro/3/2 Recycled Claim Standard Blended

(959)
$19.99
FREE delivery Sat, Jun 14 on your first order
Loading...
240W Portable Solar Panels for Power Station, 23.5% High Efficiency, 240 Watt Monocrystalline Foldable Solar Panel Charger with USB/20V DC Output Adjustable Kickstand for Camping, Off-Grid Living

240W Portable Solar Panels for Power Station, 23.5% High Efficiency, 240 Watt Monocrystalline Foldable Solar Panel Charger with USB/20V DC Output Adjustable Kickstand for Camping, Off-Grid Living

(22)
$491.55
FREE delivery Aug 12 - 14
Loading...
Wireless Power Bank 40800mAh,7-in-1 Portable Charger with 3 Built in Cables,15W Wireless Charging 25W PD QC 4.0 Fast Charging USB C LCD Display Battery Pack for iPhone 16/15/13/12,Samsung,Android etc

Wireless Power Bank 40800mAh,7-in-1 Portable Charger with 3 Built in Cables,15W Wireless Charging 25W PD QC 4.0 Fast Charging USB C LCD Display Battery Pack for iPhone 16/15/13/12,Samsung,Android etc

(65)
$56.95
FREE delivery Tue, Aug 12
200+ bought in past month
Loading...
Power Bank 40800mAh Portable Charger Built-in Cables,25W PD QC 4.0 Fast Charging USB C in&Out Battery Pack,LCD Display Portable Phone Charger Compatible with iPhone 16/15/14/13,Android,Samsung-Black

Power Bank 40800mAh Portable Charger Built-in Cables,25W PD QC 4.0 Fast Charging USB C in&Out Battery Pack,LCD Display Portable Phone Charger Compatible with iPhone 16/15/14/13,Android,Samsung-Black

(153)
$39.95
FREE delivery Sun, Aug 10
200+ bought in past month
Loading...
Portable Charger 38800mAh,LCD Display Power Bank,5 USB Outputs Battery Pack Backup, USB-C in&Out Dual Input Phone Charging Compatible with iPhone 16/15/14/13/12/11,Android Samsung Galaxy Pixel Nexus

Portable Charger 38800mAh,LCD Display Power Bank,5 USB Outputs Battery Pack Backup, USB-C in&Out Dual Input Phone Charging Compatible with iPhone 16/15/14/13/12/11,Android Samsung Galaxy Pixel Nexus

(127)
$30.74
FREE delivery Sun, Aug 10 on your first order
50+ bought in past month