200-301 · Question #1258
What is represented beginning with line 1 and ending with line 5 within this JSON schema?
The correct answer is C. array. A JSON structure beginning with an opening square bracket and ending with a closing square bracket, potentially spanning multiple lines, represents an array.
Question
What is represented beginning with line 1 and ending with line 5 within this JSON schema?
Exhibits
Options
- Akey
- Bobject
- Carray
- Dvalue
How the community answered
(40 responses)- A3% (1)
- C95% (38)
- D3% (1)
Why each option
A JSON structure beginning with an opening square bracket and ending with a closing square bracket, potentially spanning multiple lines, represents an array.
A key is a string label within an object that identifies a value, not a multi-line structure encompassing other data.
An object in JSON is an unordered collection of key-value pairs enclosed in curly braces (`{}`), not square brackets.
In JSON, an array is an ordered collection of values enclosed in square brackets (`[]`), where each value can be a string, number, boolean, null, object, or another array, and it often spans multiple lines for readability when containing multiple elements.
A value is a single piece of data associated with a key or an element in an array, not the entire multi-line collection itself.
Concept tested: JSON data types (array structure)
Source: https://www.json.org/json-en.html
Topics
Community Discussion
No community discussion yet for this question.

