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

This is the JSON


y = {};
 y.x =  "xxxxxxxxxxx";

y.yy = function(){return this;}
console.log(y.yy());
/*this is the y json itself*/
Comment

what does json stands for ?

Java Script Object Notation
Comment

PREVIOUS NEXT
Code Example
Javascript :: js seconds to time 
Javascript :: print all the subarrays of an array 
Javascript :: dynamic import in reactjs 
Javascript :: how to write a json in r 
Javascript :: react hook form validation 
Javascript :: react native pm ERR! code EINTEGRITY 
Javascript :: import card content material ui 
Javascript :: Divide the number in js 
Javascript :: window.cookies javascript 
Javascript :: javascript window 
Javascript :: javascript hypot 
Javascript :: js delete json element 
Javascript :: flatten 2d array javascript 
Javascript :: how to make text channels in discord.js 
Javascript :: remove all elements of one array from another javascript 
Javascript :: sort array of objects javascript by key value 
Javascript :: how to remove sub array null index in javascript 
Javascript :: how to get last child element in javascript 
Javascript :: delete space from string javascript 
Javascript :: js log stack trace 
Javascript :: How to Submit Forms and Save Data with React.js 
Javascript :: how to auto refresh page in javascript 
Javascript :: how to get the current time of a audio in js 
Javascript :: onsubmit in js 
Javascript :: javascript random 1 or 0 
Javascript :: how to show calendar in javascript 
Javascript :: golang json omitempty struct 
Javascript :: javascript change all text color 
Javascript :: remove duplicate array es6 
Javascript :: sending value in input angular material 
ADD CONTENT
Topic
Content
Source link
Name
4+7 =