JSON MCQ Test: JSON MCQs - Practice Questions
1. What is the purpose of the JSON Schema?
2. Which RFC defines the JSON format?
3. In JSON, how is a string represented?
4. How can you include a nested object within a JSON object?
5. What is the purpose of the JSON Merge Patch format?
6. In JSON, how is an object key represented?
7. How is a comment added in a JSON file?
8. Which data type is not supported in JSON?
9. What does the term 'serialization' mean in the context of JSON?
10. Which of the following is a valid JSON array?
11. How is null represented in JSON?
12. How can you represent a null value in a JSON file?
13. Which method is used to stringify a JavaScript object into a JSON-formatted string?
14. What is the significance of the MIME type 'application/json'?
15. Which method is used to check if a key exists in a JSON object in JavaScript?
16. In JSON, how is a number represented?
17. How is a JSON object different from a JavaScript object?
18. How is a JSON array different from a JSON object?
19. In JSON, how is a boolean value 'true' represented?
20. What is the purpose of a JSON array?
21. In JSON, what is the purpose of an array?
22. What is the purpose of the JSON Lines format?
23. In JSON, what is the purpose of a boolean value?
24. Which symbol is used to separate key and value pairs in a JSON object?
25. What does JSON stand for?
26. What does JSON.parse() do in JavaScript?
27. Which data types can be used in JSON?
28. What is the purpose of the JSON-LD (JSON for Linked Data) format?
29. What is the purpose of the JSON Web Token (JWT)?
30. Which method is used to pretty-print a JSON string in JavaScript?