QuestionQ65

Data Serialization

Click the Exhibit button.

Question Image

What is the JSON data type shown in the exhibit?

  • A sequence
  • B mapping
  • C object
  • D array
Explanation

The exhibit shows a value enclosed in square brackets containing a comma-separated, ordered list of string elements. In JSON, this structural pattern — an ordered collection of values delimited by [ and ] — is defined as an array. JSON's structural (complex) data types are limited to object (unordered name/value pairs in { }) and array (ordered list of values in [ ]); 'sequence' and 'mapping' are YAML terminology, not JSON terminology.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!