How can we post a complete HTML form in JSON format?
Difference between JSON and JSONP
Advantages and Disadvantages of JSON ?
Mention what is JSON?
Explain what is JSON objects?
Explain how to transform JSON text to a JavaScript object?
Mention what is the rule for JSON syntax rules? Give an example of JSON object?
Why must one use JSON over XML?
Mention what is JSON-RPC and JSON Parser?
Mention what is the file extension of JSON?
Mention which function is used to convert a JSON text into an object?
Mention what are the data types supported by JSON?
Mention what is the role of JSON.stringify?
Show how to parse JSON in JQuery?
Mention what is the function used for encoding JSON in PHP?
Explain how you can convert a string into a JSON Array?
Mention what are the JSON files?
List out the uses of JSON?
Mention what are the drawbacks of JSON?
Mention what is the MIME type of JSON?
Mention what is JSONP?
Mention what is the difference between JSON and JSONP?
Json interview questions and answers on advance and basic Json with example so this page for both freshers and experienced condidate. Fill the form below we will send the all interview questions on Json also add your Questions if any you have to ask and for apply
in Json Tutorials and Training course just send a mail on info@pcds.co.in in detail about your self.
Top Json interview questions and answers for freshers and experienced
What is Json ?
Answer : JavaScript Object Notation(JSON) is a lightweight text-based open standard designed for human-readable data interchange
Questions : 1 :: All technologies support JSON?
Yes , Almost all technologies who deal with exchange of data support JSON. For instance if you want to that your WCF service should send JSON message rather than SOAP you can set the...View answers
Questions : 2 :: Compare JSON with JavaScript
JSON is a subset of the object literal notation of JavaScript
JSON can be used in the JavaScript language with no muss or fuss
Example: JSON Object var myJSONObject = {"bindings": [...View answers
Questions : 3 :: How can we post a complete HTML form in JSON format?
To post a complete HTML form we need to call “serialize” function as shown in the below code. “form1” is a HTML form. The data given by the function can then be passed to the...View answers
Questions : 4 :: Difference between JSON and JSONP
Full Form of JSONJavaScript Object NotationFull Form of JSONPJavaScript Object Notation with Padding.Json is stardard format that is human readable used to transmit...View answers
Questions : 5 :: Advantages and Disadvantages of JSON ?
Advantages:JSON is light weight component. It doesn’t take more time for execution.It supports data structures used in modern languages.In Java script we cannot retrieve values from other files...View answers
Questions : 6 :: Mention what is JSON?
JSON is a simple data exchange format. JSON means JavaScript Object Notation; it is language and platform independent.
Questions : 7 :: Explain what is JSON objects?
An object can be defined as an unordered set of name/value pairs. An object in JSON starts with {left brace} and finish or ends with {right brace}. Every name is followed by: (colon) and...View answers
Questions : 8 :: Explain how to transform JSON text to a JavaScript object?
One of the common use of JSON is to collect JSON data from a web server as a file or HTTP request, and convert the JSON data to a JavaScript, ant then it avails the data in a web page.
Questions : 9 :: Mention what is the rule for JSON syntax rules? Give an example of JSON object?
JSON syntax is a set of the JavaScript object notation syntax.
Data is in name/value pairs
Data is separated by comma
Curly brackets hold objects
Square bracket holds...View answers
Questions : 10 :: Why must one use JSON over XML?
It is faster and lighter than XML as on the wire data format
XML data is typeless while JSON objects are typed
JSON types: Number, Array, Boolean, String
XML data are all string
Data is readily...View answers
Questions : 11 :: Mention what is JSON-RPC and JSON Parser?
JSON RPC: It is a simple remote procedure call protocol same as XML-RPC although it uses the lightweight JSON format instead of XML
JSON Parser: JSON parser is used to parse the JSON data into...View answers
Questions : 12 :: Mention what is the file extension of JSON?
File extension of JSON is .json
Questions : 13 :: Mention which function is used to convert a JSON text into an object?
To convert JSON text into an object “eval” function is used.
Questions : 14 :: Mention what are the data types supported by JSON?
Data types supported by JSON includes
Number
String
Boolean
Array
Object
Null
Questions : 15 :: Mention what is the role of JSON.stringify?
JSON.stringify() converts an object into a JSON text and saves that JSON text in a string.
Questions : 16 :: Show how to parse JSON in JQuery?
To parse JSON in JQuery, we will see the example
var json = ‘{“name”: “Guru 99”, “Description “: “Learn PHP Interactively with PHP Beginner...View answers
Questions : 17 :: Mention what is the function used for encoding JSON in PHP?
For encoding JSON in PHP, json_encode () function is used. This function returns the JSON representation of a value on success or false on failure.
Questions : 18 :: Explain how you can convert a string into a JSON Array?
To convert a string into a JSON array, you need to create a JSONObject object for each of your objects, and add those to your JSON array.
Questions : 19 :: Mention what are the JSON files?
JSON file type for JSON files is “.json”
The MIME type for JSON text is “application/json”
Questions : 20 :: List out the uses of JSON?
Uses of JSON includes
When writing application based on JavaScript it uses JSON, which includes browser extension and websites
JSON is used for transmitting and serializing structured data over...View answers
Questions : 21 :: Mention what are the drawbacks of JSON?
Drawbacks of json are
It does not contain type definition
It lacks some sort of DTD
Questions : 22 :: Mention what is the MIME type of JSON?
MIME type for JSON text is “application/json”
Questions : 23 :: Mention what is JSONP?
JSONP stands for JSON with padding. It is a method used to bypass the cross-domain policies in web browsers. In other words, JSONP is the simple way to deal with browser restrictions when sending...View answers
Questions : 24 :: Mention what is the difference between JSON and JSONP?
JSON: JSON is a simple data format used for communication medium between different systems
JSONP: It is a methodology for using that format with cross domain ajax requests while not being affected...View answers
Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website.
If you are using this website then its your own responsibility to understand the content of the website