DP-900 · Question #193
You have data saved in the following format. Which format was used?
The correct answer is C. JSON. JSON uses curly braces {} for objects, square brackets [] for arrays, and key-value pairs in the form "key": value - a structure that is both human-readable and machine-parseable, making it the most widely used data interchange format in web APIs and applications. XML (A) is…
Question
Exhibit
Options
- AXML
- BYAML
- CJSON
- DHTML
How the community answered
(31 responses)- A3% (1)
- B3% (1)
- C81% (25)
- D13% (4)
Explanation
JSON uses curly braces {} for objects, square brackets [] for arrays, and key-value pairs in the form "key": value - a structure that is both human-readable and machine-parseable, making it the most widely used data interchange format in web APIs and applications.
XML (A) is wrong because XML uses angle-bracket tags like <tag>value</tag> to wrap data, not key-value pairs with braces. YAML (B) is wrong because YAML uses indentation and colons without quotes or braces (e.g., key: value on plain lines). HTML (D) is wrong because HTML is a markup language for structuring web pages, not a general-purpose data storage format - it also uses angle-bracket tags like XML.
Memory tip: Think JSON = JavaScript Object Notation - if you see { "key": "value" } with quotes around keys and curly braces, it's JSON, mirroring how JavaScript objects look in code.
Community Discussion
No community discussion yet for this question.
