You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -35,7 +36,7 @@ This course/Tutorial is for anyone and everyone, Almost everyone!
35
36
36
37
Why learn JSON
37
38
---------------------
38
-
JSON stands for JavaScript Object Notation is text-based and human-readable. JSON has become a widely accepted and popular format for data due to its platform-neutral nature, lightweight format, and it’s ability to convert directly to native JavaScript Objects. JSON is being used everywhere from Web APIs to noSQL databases, to server-side language libraries and client-side frameworks.
39
+
JSON stands for JavaScript Object Notation is text-based and human-readable. JSON has become a widely accepted and popular format for data due to its platform-neutral nature, lightweight format, and it’s the ability to convert directly to native JavaScript Objects. JSON is being used everywhere from Web APIs to noSQL databases, to server-side language libraries and client-side frameworks.
39
40
40
41
JSON has significantly improved server-to-browser communications, especially when it comes to AJAX. JSON is better than XML and more popular! Easily exchange data between client and server applications. JSON is easy to use and built for storing and exchanging data.
41
42
@@ -70,6 +71,9 @@ Topics included/covered
70
71
1.[Introduction to JSON](#1-introduction-to-json)
71
72
- 1.1. [What is JSON?](#11-what-is-json)
72
73
- 1.2. [Why use JSON?](#12-why-use-json)
74
+
- 1.3. [What JSON is not?](#13-what-json-is-not)
75
+
- 1.4. [Usage of JSON](#14-usage-of-json)
76
+
- 1.5. [Characterstics of JSON](#15-characterstics-of-json)
73
77
74
78
2.[JSON Resources](#2-json-resources)
75
79
@@ -87,10 +91,20 @@ Topics included/covered
87
91
- JSON is language independent (JSON uses JavaScript syntax, with text-only format,
88
92
Text can be read and used as a data format by any programming language)
89
93
94
+
```
95
+
- The JSON format was specified and popularized by `Douglas Crockford`
96
+
- The filename extension is `.json`
97
+
- JSON internet Media type is `application/json`
98
+
```
99
+
90
100
JSON is a pretty simple data exchange format which helps to communicate between JavaScript and server-side technologies like CGI (Common Gateway Interface), PERL, ASP (Active Server Pages), Java, JSP (Java Server Pages), PHP(HyperText PreProcessor / Personal Home Page), .NET, Cold Fusion CFML, NodeJS, Servelets, WCF (Windows Communication Foundation) and more
91
101
92
102
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.
93
103
104
+
JSON uses, follows and based on Object Literal Notation syntax of JavaScript. JSON friendly Data Structures and friendly conventions play well with other different languages and platforms
105
+
106
+
> Example: Company X provides `JSON REST API { }` for the products related data, this WEB API is written with ASP.NET. User/Client Y or Z can make the call to this API by Java or jQuery or any other language to get JSON response.
107
+
94
108
1.2. Why use JSON?
95
109
---------------------
96
110
@@ -100,9 +114,39 @@ JSON has significantly improved server-to-browser communications, especially whe
100
114
- JSON is easy to use and built for storing and exchanging data
101
115
- Since the JSON format is text only, it can easily be sent to and from a server and used as a data format by any programming language
102
116
103
-
JSON has become a widely accepted and popular format for data due to its platform-neutral nature, lightweight format, and it’s ability to convert directly to native JavaScript Objects. JSON is being used everywhere from Web APIs to noSQL databases, to server-side language libraries and client-side frameworks.
117
+
JSON has become a widely accepted and popular format for data due to its platform-neutral nature, lightweight format, and it’s the ability to convert directly to native JavaScript Objects. JSON is being used everywhere from Web APIs to noSQL databases, to server-side language libraries and client-side frameworks.
104
118
105
119
JSON has significantly improved server-to-browser communications, especially when it comes to AJAX. JSON is better than XML and more popular! Easily exchange data between client and server applications. JSON is easy to use and built for storing and exchanging data.
106
120
107
121
JSON is extremely popular in web applications because it's lightweight, designed to be a language of independent and easy to read and write transfer data easily between server and client.
108
122
123
+
1.3. What JSON is not?
124
+
---------------------
125
+
126
+
- JSON is not a Programming/Markup language
127
+
- JSON is not dependent on JavaScript language
128
+
- Many people treat JSON as a javascript object, but it is not! JSON is just string representation inspired from JavaScript Object structure
129
+
130
+
```
131
+
JSON is programming language independent Data Interchange Format - an only text-based easy to use and understand the format used to Import and Export data between different platforms
132
+
```
133
+
134
+
1.4. Usage of JSON
135
+
---------------------
136
+
137
+
- It is used while writing JavaScript-based applications that include browser extensions and websites
138
+
- The JSON format is used for serializing and transmitting structured data over a network connection
139
+
- It is primarily used to transmit data between a server and web applications (client and server)
140
+
- Web services and APIs use JSON format to provide public data
141
+
- It can be used with different platform-independent modern programming languages
142
+
143
+
1.5. Characteristics of JSON
144
+
---------------------
145
+
146
+
- JSON is pretty easy to read, write and understand
147
+
- JSON is a lightweight text-based interchange format
148
+
- JSON is language independent
149
+
- JSON uses, follows and based on Object Literal Notation syntax of JavaScript
150
+
- JSON is widely used to exchange, send and receive data from server to client and vice versa
151
+
- JSON represent data in the pair of Curley braces and in the form of key-value pairs ie property and data e.g. ` var Employee = { "employeeName": "Dinanath", "employeeId": "101"} `
0 commit comments