What are the benefits of JSON over XML ?

Search Interview Questions

 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text


Interview Questions and Answers

 Q1. What are the benefits of JSON over XML ?Json
Ans. Lighter and faster than XML as on-the-wire data format

Object Representation - Information is presented in object notations and hence better understandable.

Easy to parse and conversion to objects for information consumption.

Support multiple data types - JSON supports string, number, array, boolean whereas XML data are all string.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     json   markup language     Asked in 1 Companies      intermediate        frequent

Try 1 Question(s) Test

Related Questions

  What is JSON ?
  What is the role of JSON.stringify ?
  Which function is used to convert a JSON text into an object ?
  Which data types are supported by JSON ?
  Which markup languages can be used in restful web services ?
 If we have to specify a collection of a particular information like List of addresses, How can we represent that in a JSON ?
 Can you explain JSON specification ?
 Can comments be added in JSON ?
 How to parse nested json object ?

Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: