From the course: JSON Essential Training
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
Convert between JSON and other data formats - JavaScript Tutorial
From the course: JSON Essential Training
Convert between JSON and other data formats
- [Instructor] JSON is not the only data format in wide use, and sometimes, when a program requests data, it's only available in a format other than JSON. Fortunately, converting is pretty straightforward in many situations. There are many data formats available, but aside from JSON, the most common include XML, YAML and CSV. XML stands for extensible markup language. XML is related to HTML, which is the markup language used to structure webpages. XML can be customized in ways that HTML can't and it's been widely used for data exchange since before JSON existed. YAML stands for yet another markup language. You got to love it when the name of a language to structure data can make you laugh. YAML was created with the goal of making structured data easy to write and it has fewer rules than other data structures like XML. CSV stands for comma separated values. It's literally characters separated by commas. CSV is often used…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
How to send and receive JSON data3m 25s
-
(Locked)
Create an HTTP request2m 37s
-
(Locked)
Work with an HTTP response2m 28s
-
(Locked)
Convert between JSON and other data formats4m 43s
-
(Locked)
Make sense of JSON-P1m 52s
-
(Locked)
Challenge: Examine JSON data used by websites1m 4s
-
(Locked)
Solution: Examine JSON data used by websites3m 44s
-
(Locked)
-
-
-
-