200-301 · Question #929
Refer to the exhibit. How many objects keys, and JSON list values are present?
The correct answer is C. One object, three keys, and three JSON list values. The exhibit, representing a JSON structure, contains a single top-level object, which includes three distinct keys, each associated with a JSON list (array) as its value.
Question
Refer to the exhibit. How many objects keys, and JSON list values are present?
Options
- AThree objects, two keys, and three JSON list values
- BThree objects, three keys, and two JSON list values
- COne object, three keys, and three JSON list values
- DOne object, three keys, and two JSON list values
How the community answered
(52 responses)- A15% (8)
- B4% (2)
- C75% (39)
- D6% (3)
Why each option
The exhibit, representing a JSON structure, contains a single top-level object, which includes three distinct keys, each associated with a JSON list (array) as its value.
This option incorrectly counts the number of objects and keys. A well-formed JSON document typically has one root object or array.
This option incorrectly counts the number of objects and list values, misrepresenting the fundamental structure of the JSON data.
The JSON structure starts and ends with curly braces `{}`, indicating one primary object. Within this object, there are three key-value pairs, meaning three keys. Each of these three keys has an array, denoted by square brackets `[]`, as its value, thus representing three JSON list values.
This option incorrectly counts the number of objects and list values, failing to accurately interpret the outermost container and the types of values.
Concept tested: JSON structure interpretation (objects, keys, lists)
Source: https://www.json.org/json-en.html
Topics
Community Discussion
No community discussion yet for this question.