Explain what is JSON?
Submitted by: MuhammadJSON is a very lightweight data format based on a subset of the JavaScript syntax, namely array and object literals. JSON allows communicating with server in a standard way. JSON is used as communication notation instead of XML.
Hide Copy Code
var oBike =
{
"color" : "Green",
"Speed": 200,
};
alert(oBike.color); //outputs "Green"
alert(oBike.Speed); //outputs 200
The above code creates an javascript object bike with two properties Color and Speed.
Submitted by: Muhammad
Hide Copy Code
var oBike =
{
"color" : "Green",
"Speed": 200,
};
alert(oBike.color); //outputs "Green"
alert(oBike.Speed); //outputs 200
The above code creates an javascript object bike with two properties Color and Speed.
Submitted by: Muhammad
Read Online XMLHttpRequest Job Interview Questions And Answers
Top XMLHttpRequest Questions
☺ | Explain getAllResponseHeaders ()? |
☺ | What is getResponseHeader("headerLabel")? |
☺ | What is SetRequestHeader ("label"," value")? |
☺ | Explain what is JSON? |
☺ | What is send(content)? |
Top Scripting language Categories
☺ | AngularJS Interview Questions. |
☺ | Ext-JS Interview Questions. |
☺ | Dojo Interview Questions. |
☺ | Expert Developer JavaScript Interview Questions. |
☺ | jQuery Mobile Interview Questions. |