350-401 · Question #368
Refer to the exhibit. Which JSON syntax is derived from this data?
The correct answer is D. {'Person': [{'First Name': 'Johnny', 'Last Name': 'Table', 'Hobbies': ['Running', 'Video games']}, {'First. JSON Syntax Explanation Option D is correct because it follows valid JSON structure: a root object {} containing a "Person" key whose value is an array [] of person objects, each with properly formatted key-value pairs where "Hobbies" is represented as an array ['Running', 'Video
Question
Refer to the exhibit. Which JSON syntax is derived from this data?
Options
- A{[{'First Name': 'Johnny', 'Last Name': 'Table', 'Hobbies': ['Running', 'Video games']}, {'First Name':
- B{'Person': [{'First Name': 'Johnny', 'Last Name': 'Table', 'Hobbies': 'Running', 'Video games'}, {'First
- C{[{'First Name': 'Johnny', 'Last Name': 'Table', 'Hobbies': 'Running', 'Hobbies': 'Video games'}, {'First
- D{'Person': [{'First Name': 'Johnny', 'Last Name': 'Table', 'Hobbies': ['Running', 'Video games']}, {'First
How the community answered
(49 responses)- A2% (1)
- B4% (2)
- D94% (46)
Explanation
JSON Syntax Explanation
Option D is correct because it follows valid JSON structure: a root object {} containing a "Person" key whose value is an array [] of person objects, each with properly formatted key-value pairs where "Hobbies" is represented as an array ['Running', 'Video games'] - the correct way to store multiple values for a single key.
Why the distractors are wrong:
- Option A is invalid because it starts with
{[, placing an array directly inside an object without a key name, which violates JSON syntax rules. - Option B is invalid because
'Hobbies': 'Running', 'Video games'is not proper JSON - multiple values for a single key must be enclosed in an array[], not listed as bare comma-separated values. - Option C is invalid for two reasons: it uses the
{[structure without a key (like A), and it repeats the'Hobbies'key twice in the same object, which is not valid JSON (duplicate keys are not allowed).
Memory Tip: Remember the rule "Multiple values = Array brackets" - whenever one key needs to hold more than one value in JSON, wrap them in []. Also remember that every array in JSON must belong to a named key inside an object, never floating loose inside {}.
Topics
Community Discussion
No community discussion yet for this question.