
An introduction to the course structure.
You will understand what JSON (JavaScript Object Notation) is. You will see three real-world JSON examples and also learn some of the features of JSON.
Let's compare JSON and XML
You will understand the difference between JSON and JavaScript Object Literal.
You will learn different syntax rules you need to remember to create JSON data.
You will understand different data types that you can use in your JSON data and see how to use strings, numbers, booleans and null values in your JSON string.
You are not allowed to use functions as a value in your JSON data which is allowed in JavaScript Objects.
A practice to help you identify data types in a real world JSON data
A practice to help you create some simple JSON data from scratch.
Learn how to convert JSON data into JavaScript object using JSON.parse method and how to convert JavaScript Object into JSON data using JSON.stringify method.
Learn how to collect the required information from the JSON string, once you have the JSON data available with you.
Learn the difference between dot notation and bracket notation and also learn when each notation is suitable to use.
Learn how to setup a local server on your machine using XAMPP
Learn how to get JSON file available on server.
Learn how to contact an API from JavaScript to get the JSON data.
Learn how to contact an API using POST method and making an asynchronous call.
Learn how to pass JSON data as input to an API.
Learn how to use json_encode and json_decode methods in PHP to convert to and from JSON and PHP arrays.
Date is not a data type in JSON. Still you might have to include date information in your JSON string. This lecture shows how to process date information in JSON.
Develop a currency converter application contacting an API. The application is used to convert between currencies. This lecture explains how to design application's front end.
BMI Calculator application calculates the Body Mass Index contacting a local API, collecting the JSON output and processing it to display. In this lecture, the front end of the application is designed.
***Quizzes, Hands-On Practices and Unique Projects are Included***
------------------------------------------------------------------------------------------------------------------------
JSON (JavaScript Object Notation) is a popular language independent, data interchange format. JSON has significantly improved server-to-browser communications, especially when it comes to AJAX. Most of today's APIs return the response in JSON format as it is much easier to load, read and process JSON compared to XML, making it very popular.
JavaScript Object Notation is text-based and human-readable. JSON is very easy to use with JavaScript as the syntax of JSON is a subset of JavaScript. Though it is a subset of JavaScript, JSON is language-independent. Most of the popular programming languages including PHP, Ruby, C#, Python etc. support JSON making it the widely used data interchange format.
-------------------------------------------------------------------------------------------------------------------------
Oliver says
"Excellent Course. I am learning easily all the concepts. Instructor explain with real examples. I have the feeling to be working online with the instructor. Very well explained."
Rayvn Manuel says
"The repetition in the explanation really helps to remember and recall the information. The approach to the topics is gradual; meaning, starting from the basics and slowly introducing more. And I appreciate the comparison of technologies since its really helpful to understand why use one technology over another."
Ido Yogev says
"Very nice course, straight to the point. Topics are illustrated simple and professional form. Warmly recommended !!!"
---------------------------------------------------------------------------------------------------------------------------
"JSON in Action: Build JSON-Based Applications" is a 100% hands-on JSON (JavaScript Object Notation) course. By the end of this course, you will not only understand what JSON is, but also learn how to develop applications making use of real-world APIs that return JSON data. Just learning JSON syntax is not going to help you in anyways. You should be able to use JSON in the development process. Though AJAX and APIs do not come under the scope of this course, here we discuss how to use AJAX to contact APIs and then to collect the JSON result returned by APIs.
This course is structured as follows:
In the first section, you will understand what JSON is, compare JSON and XML and also learn why JSON is not JavaScript Object.
In the second section, you will understand JSON in more detail. You will learn JSON syntax rules and different data types (number, string, boolean, null, array and object) you can use in JSON data. You will also practise to identify different data types in real world JSON data and also to write JSON data on your own.
In the next section, you will understand how easy it is to use JSON with JavaScript. You will learn how to use JSON.parse and JSON.stringify methods to convert JSON data to JavaScript objects and JavaScript objects to JSON strings respectively. You will also learn how to get the required information from the available JSON data. You will understand the difference between dot notation and bracket notation. You will also learn how to use XMLHttpRequest object to fetch the .json file from a server.
The fourth section explains how to use AJAX techniques to contact an API and to collect the JSON output returned by the API. You will learn how to contact the API using GET or POST methods and also making a synchronous or asynchronous requests. You will also see how you can pass JSON as the input to an API.
In the next section, we discuss how to use JSON with PHP. This lecture explains json_encode and json_decode methods. This section will be updated to teach you how to use JSON with other programming languages as well.
The last section is the Let's Develop section where you are going to apply your JSON knowledge to develop some applications on your own. Now there are two applications in this section.
The first application "Currency Converter" application contacts a real-world API, collects the JSON data, and performs currency conversion. The second application "BMI Calculator" is a more detailed one. As part of this application, you will be developing a simple API using PHP. You will contact that API (which you designed on your own), collect the JSON response and then process it to get the result you want.
So, what are you waiting for? Join this 100% practical JSON course and start developing API-based applications on your own applying JSON knowledge.