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/12Score 0

Can JSON represent a top-level array, like `[1, 2, 3]`?

In this round
  1. Can JSON represent a top-level array, like `[1, 2, 3]`?
  2. What does it mean that JSON is "language-independent"?
  3. What is the `reviver` function in `JSON.parse(text, reviver)` used for?
  4. What is the standard MIME type for JSON in HTTP?
  5. Which values are NOT valid JSON numbers?
  6. Which of these is NOT a valid JSON value type?
  7. Are comments allowed in standard JSON?
  8. How does JSON represent the absence of a value?
  9. Compared to XML, a key characteristic of JSON is:
  10. What does JSON Schema provide?
  11. Is `{ "a": 1, "a": 2 }` valid JSON, and what typically happens?
  12. How are special characters like a double quote or newline represented inside a JSON string?
Gaps to close?
Read the curated JSON notes — core concepts, patterns, interview prep.
JSON notes

More quizzes

.NETAccessibilityAgile MethodologyAlertmanagerAlgorithmsAndroid