SlideShare a Scribd company logo
Introduction to
JSON
Agenda
Agenda
What is
JSON?
What is
JSON?
 JSON stands for JavaScript Object Notation.
 JSON is a syntax for storing and exchanging data.
 The format was specified by Douglas Crockford.
 Basically it was designed for human readable data interchange.
 JSON is text written with JavaScript Object Notation.
 It has been extended from the JavaScript Scripting Language.
 The filename extension is .json.
 JSON internet media type is application/json.
Uses
Uses of
JSON
 Helps you to transfer data from server.
 JSON format helps transmit and serialize all types of structured data.
 Allows you to perform asynchronous data call without the need to the
page refresh (AJAX- Asynchronous JavaScript and XML).
 It is widely used for JavaScript-based application, which includes
browser extension and website).
 You can transmit the data between server and web-application using
JSON.
 We can use JSON with modern programming languages.
 It is used for writing the JavaScript-based applications that include
browser add-on’s.
 Web services and API’s use the JSON format to get public data.
Characteristi
cs
 JSON is easy to read and write.
 It is lightweight text-based interchange format.
 JSON is language independent.
Characteristi
cs
JSON Data
Type
JSON Data
Type
 Numbers
 String
 Boolean
 Null
 Object
 Array
Data Types
 String
String in JSON must be written in double quotes.
Ex.
{“name”: ”John”}
 Numbers
Numbers in JSON must be an integer or a floating point.
Ex.
{“age”:30}
 Object
Values in JSON can be object
Ex.
{
“employee” : {“name” : ”John”, “age” : 30, “city” : ”New York”}
}
Data Types
 Array
Values in JSON can be arrays.
Ex.
{
“employees” : [“john”, “Anna”, “Peter”]
}
 Boolean
Values in JSON can be true/false.
Ex.
{“sale” :true}
 Null
Values in JSON can be null.
Ex.
{“middlename” :null}
JSON
Syntax
JSON Syntax
 Data should be in name/value pairs.
 Data should be separated by commas.
 Curly braces should hold objects.
 Square brackets hold arrays.
Thank you!

More Related Content

Similar to Introduction to JavaScript Object Notation(JSON) (20)

JSON.pptx
JSON.pptxJSON.pptx
JSON.pptx
TilakaRt
 
Json
JsonJson
Json
soumya
 
Json
JsonJson
Json
krishnapriya Tadepalli
 
Intro to JSON
Intro to JSONIntro to JSON
Intro to JSON
Mark Daniel Dacer
 
Java script and json
Java script and jsonJava script and json
Java script and json
Islam Abdelzaher
 
CS8651 IP Unit 2 pdf regulation -2017 anna university
CS8651  IP Unit 2 pdf regulation -2017 anna universityCS8651  IP Unit 2 pdf regulation -2017 anna university
CS8651 IP Unit 2 pdf regulation -2017 anna university
amrashbhanuabdul
 
JSON - (English)
JSON - (English)JSON - (English)
JSON - (English)
Senior Dev
 
Json
JsonJson
Json
Anderson Oliveira
 
java script json
java script jsonjava script json
java script json
chauhankapil
 
Basics of JSON (JavaScript Object Notation) with examples
Basics of JSON (JavaScript Object Notation) with examplesBasics of JSON (JavaScript Object Notation) with examples
Basics of JSON (JavaScript Object Notation) with examples
Sanjeev Kumar Jaiswal
 
json.pptx
json.pptxjson.pptx
json.pptx
Anum Zehra
 
JSON
JSONJSON
JSON
Ibrahim AlIbrahim
 
An introduction to json
An introduction to jsonAn introduction to json
An introduction to json
Naveenkumar5964
 
JSON & AJAX.pptx
JSON & AJAX.pptxJSON & AJAX.pptx
JSON & AJAX.pptx
dyumna2
 
Json tutorial
Json tutorialJson tutorial
Json tutorial
Ashoka Vanjare
 
Json
JsonJson
Json
Zainal Abdul Kahar
 
J s o n
J s o nJ s o n
J s o n
nasifalnahian
 
Json
JsonJson
Json
Sabarinath Gnanasekar
 
1 Json Intro and datatype PRESENTATION.pptx
1 Json Intro and datatype PRESENTATION.pptx1 Json Intro and datatype PRESENTATION.pptx
1 Json Intro and datatype PRESENTATION.pptx
angelinjeba6
 
json.ppt download for free for college project
json.ppt download for free for college projectjson.ppt download for free for college project
json.ppt download for free for college project
AmitSharma397241
 

Recently uploaded (20)

Code and No-Code Journeys: The Coverage Overlook
Code and No-Code Journeys: The Coverage OverlookCode and No-Code Journeys: The Coverage Overlook
Code and No-Code Journeys: The Coverage Overlook
Applitools
 
Application Modernization with Choreo - The AI-Native Internal Developer Plat...
Application Modernization with Choreo - The AI-Native Internal Developer Plat...Application Modernization with Choreo - The AI-Native Internal Developer Plat...
Application Modernization with Choreo - The AI-Native Internal Developer Plat...
WSO2
 
OpenTelemetry 101 Cloud Native Barcelona
OpenTelemetry 101 Cloud Native BarcelonaOpenTelemetry 101 Cloud Native Barcelona
OpenTelemetry 101 Cloud Native Barcelona
Imma Valls Bernaus
 
Agile Software Engineering Methodologies
Agile Software Engineering MethodologiesAgile Software Engineering Methodologies
Agile Software Engineering Methodologies
Gaurav Sharma
 
Open Source Software Development Methods
Open Source Software Development MethodsOpen Source Software Development Methods
Open Source Software Development Methods
VICTOR MAESTRE RAMIREZ
 
Wondershare PDFelement Pro 11.4.20.3548 Crack Free Download
Wondershare PDFelement Pro 11.4.20.3548 Crack Free DownloadWondershare PDFelement Pro 11.4.20.3548 Crack Free Download
Wondershare PDFelement Pro 11.4.20.3548 Crack Free Download
Puppy jhon
 
Milwaukee Marketo User Group June 2025 - Optimize and Enhance Efficiency - Sm...
Milwaukee Marketo User Group June 2025 - Optimize and Enhance Efficiency - Sm...Milwaukee Marketo User Group June 2025 - Optimize and Enhance Efficiency - Sm...
Milwaukee Marketo User Group June 2025 - Optimize and Enhance Efficiency - Sm...
BradBedford3
 
MOVIE RECOMMENDATION SYSTEM, UDUMULA GOPI REDDY, Y24MC13085.pptx
MOVIE RECOMMENDATION SYSTEM, UDUMULA GOPI REDDY, Y24MC13085.pptxMOVIE RECOMMENDATION SYSTEM, UDUMULA GOPI REDDY, Y24MC13085.pptx
MOVIE RECOMMENDATION SYSTEM, UDUMULA GOPI REDDY, Y24MC13085.pptx
Maharshi Mallela
 
Porting Qt 5 QML Modules to Qt 6 Webinar
Porting Qt 5 QML Modules to Qt 6 WebinarPorting Qt 5 QML Modules to Qt 6 Webinar
Porting Qt 5 QML Modules to Qt 6 Webinar
ICS
 
IBM Rational Unified Process For Software Engineering - Introduction
IBM Rational Unified Process For Software Engineering - IntroductionIBM Rational Unified Process For Software Engineering - Introduction
IBM Rational Unified Process For Software Engineering - Introduction
Gaurav Sharma
 
Microsoft Business-230T01A-ENU-PowerPoint_01.pptx
Microsoft Business-230T01A-ENU-PowerPoint_01.pptxMicrosoft Business-230T01A-ENU-PowerPoint_01.pptx
Microsoft Business-230T01A-ENU-PowerPoint_01.pptx
soulamaabdoulaye128
 
Generative Artificial Intelligence and its Applications
Generative Artificial Intelligence and its ApplicationsGenerative Artificial Intelligence and its Applications
Generative Artificial Intelligence and its Applications
SandeepKS52
 
Agentic Techniques in Retrieval-Augmented Generation with Azure AI Search
Agentic Techniques in Retrieval-Augmented Generation with Azure AI SearchAgentic Techniques in Retrieval-Augmented Generation with Azure AI Search
Agentic Techniques in Retrieval-Augmented Generation with Azure AI Search
Maxim Salnikov
 
Software Testing & it’s types (DevOps)
Software  Testing & it’s  types (DevOps)Software  Testing & it’s  types (DevOps)
Software Testing & it’s types (DevOps)
S Pranav (Deepu)
 
IMAGE CLASSIFICATION USING CONVOLUTIONAL NEURAL NETWORK.P.pptx
IMAGE CLASSIFICATION USING CONVOLUTIONAL NEURAL NETWORK.P.pptxIMAGE CLASSIFICATION USING CONVOLUTIONAL NEURAL NETWORK.P.pptx
IMAGE CLASSIFICATION USING CONVOLUTIONAL NEURAL NETWORK.P.pptx
usmanch7829
 
Automated Migration of ESRI Geodatabases Using XML Control Files and FME
Automated Migration of ESRI Geodatabases Using XML Control Files and FMEAutomated Migration of ESRI Geodatabases Using XML Control Files and FME
Automated Migration of ESRI Geodatabases Using XML Control Files and FME
Safe Software
 
Making significant Software Architecture decisions
Making significant Software Architecture decisionsMaking significant Software Architecture decisions
Making significant Software Architecture decisions
Bert Jan Schrijver
 
Smadav Pro 2025 Rev 15.4 Crack Full Version With Registration Key
Smadav Pro 2025 Rev 15.4 Crack Full Version With Registration KeySmadav Pro 2025 Rev 15.4 Crack Full Version With Registration Key
Smadav Pro 2025 Rev 15.4 Crack Full Version With Registration Key
joybepari360
 
Plooma is a writing platform to plan, write, and shape books your way
Plooma is a writing platform to plan, write, and shape books your wayPlooma is a writing platform to plan, write, and shape books your way
Plooma is a writing platform to plan, write, and shape books your way
Plooma
 
Reimagining Software Development and DevOps with Agentic AI
Reimagining Software Development and DevOps with Agentic AIReimagining Software Development and DevOps with Agentic AI
Reimagining Software Development and DevOps with Agentic AI
Maxim Salnikov
 
Code and No-Code Journeys: The Coverage Overlook
Code and No-Code Journeys: The Coverage OverlookCode and No-Code Journeys: The Coverage Overlook
Code and No-Code Journeys: The Coverage Overlook
Applitools
 
Application Modernization with Choreo - The AI-Native Internal Developer Plat...
Application Modernization with Choreo - The AI-Native Internal Developer Plat...Application Modernization with Choreo - The AI-Native Internal Developer Plat...
Application Modernization with Choreo - The AI-Native Internal Developer Plat...
WSO2
 
OpenTelemetry 101 Cloud Native Barcelona
OpenTelemetry 101 Cloud Native BarcelonaOpenTelemetry 101 Cloud Native Barcelona
OpenTelemetry 101 Cloud Native Barcelona
Imma Valls Bernaus
 
Agile Software Engineering Methodologies
Agile Software Engineering MethodologiesAgile Software Engineering Methodologies
Agile Software Engineering Methodologies
Gaurav Sharma
 
Open Source Software Development Methods
Open Source Software Development MethodsOpen Source Software Development Methods
Open Source Software Development Methods
VICTOR MAESTRE RAMIREZ
 
Wondershare PDFelement Pro 11.4.20.3548 Crack Free Download
Wondershare PDFelement Pro 11.4.20.3548 Crack Free DownloadWondershare PDFelement Pro 11.4.20.3548 Crack Free Download
Wondershare PDFelement Pro 11.4.20.3548 Crack Free Download
Puppy jhon
 
Milwaukee Marketo User Group June 2025 - Optimize and Enhance Efficiency - Sm...
Milwaukee Marketo User Group June 2025 - Optimize and Enhance Efficiency - Sm...Milwaukee Marketo User Group June 2025 - Optimize and Enhance Efficiency - Sm...
Milwaukee Marketo User Group June 2025 - Optimize and Enhance Efficiency - Sm...
BradBedford3
 
MOVIE RECOMMENDATION SYSTEM, UDUMULA GOPI REDDY, Y24MC13085.pptx
MOVIE RECOMMENDATION SYSTEM, UDUMULA GOPI REDDY, Y24MC13085.pptxMOVIE RECOMMENDATION SYSTEM, UDUMULA GOPI REDDY, Y24MC13085.pptx
MOVIE RECOMMENDATION SYSTEM, UDUMULA GOPI REDDY, Y24MC13085.pptx
Maharshi Mallela
 
Porting Qt 5 QML Modules to Qt 6 Webinar
Porting Qt 5 QML Modules to Qt 6 WebinarPorting Qt 5 QML Modules to Qt 6 Webinar
Porting Qt 5 QML Modules to Qt 6 Webinar
ICS
 
IBM Rational Unified Process For Software Engineering - Introduction
IBM Rational Unified Process For Software Engineering - IntroductionIBM Rational Unified Process For Software Engineering - Introduction
IBM Rational Unified Process For Software Engineering - Introduction
Gaurav Sharma
 
Microsoft Business-230T01A-ENU-PowerPoint_01.pptx
Microsoft Business-230T01A-ENU-PowerPoint_01.pptxMicrosoft Business-230T01A-ENU-PowerPoint_01.pptx
Microsoft Business-230T01A-ENU-PowerPoint_01.pptx
soulamaabdoulaye128
 
Generative Artificial Intelligence and its Applications
Generative Artificial Intelligence and its ApplicationsGenerative Artificial Intelligence and its Applications
Generative Artificial Intelligence and its Applications
SandeepKS52
 
Agentic Techniques in Retrieval-Augmented Generation with Azure AI Search
Agentic Techniques in Retrieval-Augmented Generation with Azure AI SearchAgentic Techniques in Retrieval-Augmented Generation with Azure AI Search
Agentic Techniques in Retrieval-Augmented Generation with Azure AI Search
Maxim Salnikov
 
Software Testing & it’s types (DevOps)
Software  Testing & it’s  types (DevOps)Software  Testing & it’s  types (DevOps)
Software Testing & it’s types (DevOps)
S Pranav (Deepu)
 
IMAGE CLASSIFICATION USING CONVOLUTIONAL NEURAL NETWORK.P.pptx
IMAGE CLASSIFICATION USING CONVOLUTIONAL NEURAL NETWORK.P.pptxIMAGE CLASSIFICATION USING CONVOLUTIONAL NEURAL NETWORK.P.pptx
IMAGE CLASSIFICATION USING CONVOLUTIONAL NEURAL NETWORK.P.pptx
usmanch7829
 
Automated Migration of ESRI Geodatabases Using XML Control Files and FME
Automated Migration of ESRI Geodatabases Using XML Control Files and FMEAutomated Migration of ESRI Geodatabases Using XML Control Files and FME
Automated Migration of ESRI Geodatabases Using XML Control Files and FME
Safe Software
 
Making significant Software Architecture decisions
Making significant Software Architecture decisionsMaking significant Software Architecture decisions
Making significant Software Architecture decisions
Bert Jan Schrijver
 
Smadav Pro 2025 Rev 15.4 Crack Full Version With Registration Key
Smadav Pro 2025 Rev 15.4 Crack Full Version With Registration KeySmadav Pro 2025 Rev 15.4 Crack Full Version With Registration Key
Smadav Pro 2025 Rev 15.4 Crack Full Version With Registration Key
joybepari360
 
Plooma is a writing platform to plan, write, and shape books your way
Plooma is a writing platform to plan, write, and shape books your wayPlooma is a writing platform to plan, write, and shape books your way
Plooma is a writing platform to plan, write, and shape books your way
Plooma
 
Reimagining Software Development and DevOps with Agentic AI
Reimagining Software Development and DevOps with Agentic AIReimagining Software Development and DevOps with Agentic AI
Reimagining Software Development and DevOps with Agentic AI
Maxim Salnikov
 
Ad

Introduction to JavaScript Object Notation(JSON)

  • 5. What is JSON?  JSON stands for JavaScript Object Notation.  JSON is a syntax for storing and exchanging data.  The format was specified by Douglas Crockford.  Basically it was designed for human readable data interchange.  JSON is text written with JavaScript Object Notation.  It has been extended from the JavaScript Scripting Language.  The filename extension is .json.  JSON internet media type is application/json.
  • 7. Uses of JSON  Helps you to transfer data from server.  JSON format helps transmit and serialize all types of structured data.  Allows you to perform asynchronous data call without the need to the page refresh (AJAX- Asynchronous JavaScript and XML).  It is widely used for JavaScript-based application, which includes browser extension and website).  You can transmit the data between server and web-application using JSON.  We can use JSON with modern programming languages.  It is used for writing the JavaScript-based applications that include browser add-on’s.  Web services and API’s use the JSON format to get public data.
  • 9.  JSON is easy to read and write.  It is lightweight text-based interchange format.  JSON is language independent. Characteristi cs
  • 11. JSON Data Type  Numbers  String  Boolean  Null  Object  Array
  • 12. Data Types  String String in JSON must be written in double quotes. Ex. {“name”: ”John”}  Numbers Numbers in JSON must be an integer or a floating point. Ex. {“age”:30}  Object Values in JSON can be object Ex. { “employee” : {“name” : ”John”, “age” : 30, “city” : ”New York”} }
  • 13. Data Types  Array Values in JSON can be arrays. Ex. { “employees” : [“john”, “Anna”, “Peter”] }  Boolean Values in JSON can be true/false. Ex. {“sale” :true}  Null Values in JSON can be null. Ex. {“middlename” :null}
  • 15. JSON Syntax  Data should be in name/value pairs.  Data should be separated by commas.  Curly braces should hold objects.  Square brackets hold arrays.