JSON in Action: Build JSON-Based Applications

JSON in Action: Build JSON-Based Applications
JSON in Action: Build JSON-Based Applications

English | MP4 | AVC 1280×720 | AAC 44KHz 2ch | 4.5 Hours | 734 MB
eLearning | Skill level: All Levels


Learn JSON from Scratch! Learn JavaScript Object Notation (JSON) to Build API-Based Apps! Develop 2 JSON-Based Projects

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.

“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.

  • Currency Converter
  • BMI Calculator

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.

What you’ll learn

  • Understand why JSON is popular as a data interchange format
  • Understand the difference between JSON and XML
  • Understand why JSON is NOT JavaScript Object
  • Learn JSON syntax and data types
  • Learn to write JSON data (simple and complex) on your own
  • Learn how to use JSON with JavaScript
  • Learn to collect the required piece of information even from complex JSON data
  • Learn how to contact an API and collect JSON response
  • Learn how to use JSON with PHP
  • Develop your own applications making use of popular APIs
+ Table of Contents

Introduction to JSON
1 Course Structure
2 What is JSON
3 JSON Vs XML
4 JSON and JavaScript Object Literal

JSON Syntax and Data Types
5 JSON Syntax Rules
6 Source Code write-json-complex.json
7 JSON Data Types – Part 1
8 JSON Data Types – Part 2
9 JSON Data Types – Part 3
10 Another Difference JSON & JavaScript Object
11 Practice Identify Data Types in Real-World JSON Data
12 Practice #1 Create Simple JSON Data
13 Source Code write-json-simple.json
14 Practice #2 Create Complex JSON Data

JSON on Client Side (JSON and JavaScript)
15 Parse and Stringify
16 Source Code parse-stringify.html
17 Collect the Required Information
18 Dot Notation and Bracket Notation
19 Source Code access-data.html
20 Extra Resource How to Setup a Local Server on Your System
21 Get JSON from Server
22 Source Code get-data.html

JSON and APIs (Application Programming Interface)
23 Contact an API and Get JSON Response
24 Source Code get-api-response.html
25 Contact an API using POST method and Making an Asynchronous Call
26 Passing JSON data as Input to an API

JSON with Other Programming Languages
27 JSON and PHP
28 Source Code encode-decode.php
29 CRUD (Create, Read, Update, Delete) on JSON – Part 1
30 CRUD (Create, Read, Update, Delete) on JSON – Part 2
31 Source Code books.json
32 Source Code crud-json.php

Bits and Pieces of Useful Information
33 How to Deal with Dates in JSON – Part 1
34 How to Deal with Dates in JSON – Part 2

Let’s Develop
35 Currency Conversion Application – Part 1
36 Currency Conversion Application – Part 2
37 Source Code currency-converter.html
38 BMI Calculator – Part 1
39 BMI Calculator – Part 2
40 BMI Calculator – Part 3
41 Source Code bmi.html
42 Source Code calculate-bmi.php

BONUS Section
43 Bonus Lecture Special Offers on Other Courses!!!