All quizzes
Free quiz · 22 questions in the bank

JSON quiz

Test your JSON knowledge with a free interactive quiz — 22 questions with answers and explanations. No signup needed to play.

Question 1/5Score 0

What does `JSON.parse` throw when given malformed JSON?

Questions in this quiz
  1. What does `JSON.parse` throw when given malformed JSON?
  2. What does JSON Schema provide?
  3. A JavaScript `Date` object is passed to `JSON.stringify`. What appears in the output?
  4. Why can very large integers be unsafe in JSON when parsed by JavaScript?
  5. How does JSON represent the absence of a value?
  6. What does it mean that JSON is "language-independent"?
  7. Are comments allowed in standard JSON?
  8. Why should you avoid `eval()` to parse JSON in JavaScript?
  9. What is the standard MIME type for JSON in HTTP?
  10. What does JSON stand for?
  11. What is the second argument to `JSON.stringify(value, replacer, space)` — the `space` parameter — used for?
  12. Which of the following is INVALID JSON?
Gaps to close?
Read the curated JSON notes — core concepts, patterns, interview prep.
JSON notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web