Q1. What is JSON?
Q2. Enlist few advantages of using JSONs?
Q3. Who is known as the father of JSON?
Q4. What extension is used to save JSON file?
Q5. Enlist data types available in JSON?
Q6. What two main structures used to compose JSON?
Q7. How do you decode a JSON string?
Q8. What is the default value of a constructor's prototype?
Q9. List some benefits of JSON over XML?
Q10. What is MIME type for JSON data?
Q11. What is JSON Validator?
Q12. What is JSON Schema?
Q13. What is JSON-RPC? List some Features of JSON-RPC-Java.
Q14. What is BSON?
Q15. How to convert an Object into JSON?
Q16. What does $.parseJSON() do ?
The use of JSON is growing rapidly due to its light-weight and compact feature. Along with this, sharing is too fast because it uses an array to store the data and also you can share any size of data such as videos, images, etc. This is a brief introduction to JSON. If you want to know its advantages, disadvantages, and features, then visit our JSON online interview questions. This will help you to understand the basic concepts of JSON and enable you to crack any interviews. Check and start today!
|JSON is much lightweight, so it can make significant improvements in RESTful APIs working with complex systems.||XML is not much lightweight.|
|JSON uses less data, thus, increases the parsing speed.||XML software takes more time in parsing due to the DOM manipulation libraries.|
|JSON uses a map data structure XML uses a tree structure JSON is data-oriented.||XML is document-oriented.|
|JSON doesn't provide display capabilities.||XML provides display capabilities because it is a markup language.|
|JSON is less secured than XML due to the possibility of hacking.||XML is more secure.|
|JSON supports limited data types such as text and number data type.||XML support many data types such as images, charts, graphs, texts, etc. JSON supports an array. XML doesn’t support array.|
Advantage of JSON:
Disadvantages of JSON: