JN0-224 · Question #154
Which two data structures are used in JSON? (Choose two.)
The correct answer is B. objects C. arrays. In JSON (JavaScript Object Notation), the two primary data structures are: Objects: These are collections of key-value pairs, where each key is a string, and the value can be a string, number, array, boolean, or another object. In Python, this structure is analogous to a…
Question
Which two data structures are used in JSON? (Choose two.)
Options
- Atuples
- Bobjects
- Carrays
- Ddictionaries
How the community answered
(36 responses)- A6% (2)
- B86% (31)
- D8% (3)
Explanation
In JSON (JavaScript Object Notation), the two primary data structures are: Objects: These are collections of key-value pairs, where each key is a string, and the value can be a string, number, array, boolean, or another object. In Python, this structure is analogous to a Arrays: These are ordered lists of values, where each value can be of any data type, including another array or object. In Python, this structure is similar to a list.
Topics
Community Discussion
No community discussion yet for this question.