Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
JSON - Beginners Guide to learning JSON with JavaScript
Rating: 4.4 out of 5(1,676 ratings)
16,399 students

JSON - Beginners Guide to learning JSON with JavaScript

Explore JSON and how JavaScript Objects can be used to access data within JSON data format and output to your web page
Created byLaurence Svekis
Last updated 11/2024
English

What you'll learn

  • Connect to APIs and retrieve JSON data
  • Parse JSON data from Strings
  • Be able to work with JavaScript Objects
  • Understand how JavaScript Arrays work
  • Create JSON object arrays

Course content

3 sections35 lectures2h 39m total length
  • Introduction to Course JSON5:57

    Delve into JSON basics and its connection to JavaScript, including objects, arrays, and strict JSON format, then practice fetching and using JSON with APIs, local storage, and Google Sheets.

  • Introduction to JSON5:33

    Explore JSON basics using brackets and Chrome, render JSON locally, inspect with dev tools, and validate or generate JSON using online tools while linking JavaScript objects to JSON.

  • Explore JavaScript Objects7:45

    Explore how JavaScript objects differ from JSON data by building objects and arrays, using basic data types, and accessing nested values via object paths in the browser console.

  • Source Code 20:16
  • How to use JSON Objects6:26

    Learn how to use json objects by converting JavaScript objects to valid json with double quotes, and validate them with online validators.

  • JSON stringify and Parse7:21

    Create a simple JavaScript object and stringify it with JSON.stringify for local storage or sending to a server, then parse with JSON.parse to update the first name and log results.

  • Source Code 40:13
  • JavaScript how to Store to Local Storage9:12

    Learn how to store JavaScript data in local storage by converting objects to strings with JSON.stringify and retrieving with JSON.parse, including practical examples with first and last names.

  • Source Code 50:22
  • Parse and Stringify in action Storage Exercise5:15

    Learn how to convert objects to a JSON string with JSON.stringify and back to objects with JSON.parse, store data in local storage, and retrieve and display it.

  • Source Code 60:17
  • Output JSON data API7:26

    Learn how to fetch JSON data from an online file using JavaScript, parse it with fetch and response.json, and output first and last name into the page.

  • Source Code 70:13
  • JavaScript Fetch JSON3:02

    Learn to fetch json with JavaScript, output data to HTML, and practice retrieving from an API such as random user to display results.

  • JSON AJAX API content to HTML4:57

    Learn to fetch JSON via AJAX from the random user API, navigate the results array, loop through users, and output first and last names into HTML with innerHTML.

  • Source Code 90:14
  • API handle Multiple results6:50

    Explore handling multiple API results by expanding to ten, mapping the returned array, and rendering a dynamic html list joined for display in the page and console.

  • Using JavaScript Map to output values3:59

    Learn to use JavaScript map to transform a JSON array of users into a readable list of first and last names, including indexing and string formatting.

  • Value to Uppercase3:18

    Fetch API data with JavaScript, convert first and last names to uppercase, and implement a capitalize string prototype to render capitalized output. Display gender and pictures in HTML.

  • Source Code 120:25
  • Get more data from JSON7:50

    Learn to fetch and display additional user data from JSON in JavaScript by building and appending DOM elements, handling errors, and rendering images and thumbnails with clean output refresh.

  • Source Code 130:29
  • Google Spreadsheet Practice Exercise5:46

    Practice building and testing json data by creating a google spreadsheet, publishing it to the web, and fetching its json output to display in a web app.

  • Source Code 140:13
  • Google Spreadsheet Data as JSON practice JSON and JavaScript5:17

    Convert Google spreadsheet data to json using GSX, loop through feed entries, and output emails, first names, and IDs in a simple web page with JavaScript.

  • Source Code 150:19
  • Source Code JSON overview7:18

    Explore how JavaScript handles different data types, and learn to navigate, stringify, and parse JSON objects and arrays, including local storage, API data, and dynamic updates.

  • Resources0:02

Requirements

  • Basic JavaScript/jQuery
  • Understanding of web development
  • Desire to learn about JSON and APIs

Description

Guide to learning how to use JavaScript Objects and JSON data.  JSON is the most popular format for data exchange between applications.  If you are interested in connected to a web API chances are its JSON formatted.   Learn to use AJAX to connect and bring JSON data into your JavaScript!

This course shows you how to work with JSON formatted data, output content, loop JSON data, Parse JSON and a whole lot more.

JSON (JavaScript Object Notation) is a syntax for data.  JSON is easier to use than XML and human readable.   Most modern web APIs output data in JSON formats.  It's a lightweight data interchange format that is quickly becoming the default format for data exchange on internet today!  JSON is lightweight, language independent and easy to read and write.  JSON is better than XML and more popular!

Within the lessons of this course we will explore

  • JavaScript data types used to hold variables and how they work
  • JSON and how to write JSON data
  • How to add values into a JSON object
  • Accessing JSON data and bringing it into JavaScript
  • JavaScript JSON parse and stringify methods
  • Adding JSON to local storage
  • Retrieving back data within JSON formats, updating and working with JSON
  • Connecting to a web API using fetch
  • Retrieving JSON data from a web API and outputting the results into your web page
  • Iterating threw multiple results from an API
  • Google Spreadsheet data as JSON and how to practice retrieving data
  • All of the source code and resources are in included
  • Explore different methods of working with the JSON data stringify and parsing
  • How JavaScript objects can use Arrays to hold multiple items
  • How JavaScript arrays work and store data

Get started with JSON quickly 

Understanding the basics of JavaScript and how to create websites is a prerequisites to this course.  It covers working within JavaScript code to produce dynamic functionality.  Learning how to work with JSON is a key skill within modern web development.   JSON and APIs are everywhere, once you start working with them you will be amazed at what can be done with a few lines of code.

Taught by an instructor with over 18 years of real world web development experience.  Friendly support is always available within the Q&A section of this course.  I'm here to help you learn about JSON and ready to answer any questions you may have.  One course instructor who is also a web developer with the real world knowledge to help you learn.

Join now and bring some JSON data into you web applications today.

Everything you need to get started using JSON is included within this course..

Resources, source files and top links are also included.

Let's get ready to learn JSON and AJAX


Who this course is for:

  • Web developers
  • anyone interested in JSON
  • Anyone working with APIs
  • Front end applications developers
  • Anyone who wants to access web APIs