Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

what is JSON

JavaScript Object Notation 
	Its a key value pair 
	its popular light-weight way of transfering data 

	for example : 
	Lets try to create a json for Person Object 
			with name , age , isMarried , gender 

		Its ket value pair 
		the key is always String and need to be in quotation
		value can be :
			String 
			Number 
			Boolean 
			null 
			array 
			another json object


		This is one json with 5 fields 
		each key value pair should be separated by comma 
		{
			"name" 		: "Anna", 
			"age" 		: 18  , 
			"isMarried" : false , 
			"gender"	: "female", 
			"company"	: null 
		}
Comment

JSON stands for

JSON = JavaScript Object Notation
Comment

what is json used for

JSON is an open standard file format and data 
interchange format that uses human-readable 
text to store and transmit data objects 
consisting of attribute–value pairs and arrays.
It is a common data format with diverse uses in
electronic data interchange,including that of
web applications with servers
Comment

What is JSON?

● It is JavaScript Object Notation (is a minimal, readable format 
                                    for structuring data.)
● It is used primarily to transmit data between a server 
and web application, as an alternative to XML.
● Basically, a lightweight version of XML
● In Key: Value format
● Key is always in double quotes and value if 
  string its double quotes and if numbers no quotes
● It is purely based on http protocol, - 
  so it hits the link on the browser and see the results
Comment

what is json

|json stands for JavaScript Object Notation 
|json is a light weight for storing and transporting data
|json is readable 
|it has key : value format like python dictionary
Comment

what does json stands for ?

Java Script Object Notation
Comment

PREVIOUS NEXT
Code Example
Javascript :: every break js 
Javascript :: kick commands discord.js 
Javascript :: javascript remove string between 
Javascript :: latitude longitude to km javascript 
Javascript :: how to get table last row id in jquery 
Javascript :: send sms using twilio in node 
Javascript :: async function syntax in javascript 
Javascript :: reverse each word in string javascript without using inbuilt function 
Javascript :: js .touppercase 
Javascript :: json length javascript 
Javascript :: async await iife 
Javascript :: javascript insert div into another div 
Javascript :: wait for promise javascript 
Javascript :: next js react image upload 
Javascript :: generate and download xml from javascript 
Javascript :: mouse wheel event angular for table 
Javascript :: jquery class selector 
Javascript :: emoji-picker-react 
Javascript :: convert set to array javascript 
Javascript :: how to get keys from request headers in express 
Javascript :: javascript non-repeating randomize array 
Javascript :: navlink activestyle not working 
Javascript :: react hide element 
Javascript :: jquery recharger la page 
Javascript :: nextjs query parameter 
Javascript :: deploy react to aws 
Javascript :: completablefuture async example 
Javascript :: js remove all except numbers 
Javascript :: javascript array slice 
Javascript :: react time input 
ADD CONTENT
Topic
Content
Source link
Name
6+6 =