QuestionQ1

701.1 Modern Software Development

Which of the following data structures represents a JSON array?

  • A {"data":<one=1><two=2>}
  • B {"data":"one", "two"}
  • C {"data":"1";"data":+"2"}
  • D {data:{one:1,two:2}}
  • E {"data":["one","two"]}
Explanation

A JSON array uses square brackets ([]) to contain an ordered sequence of values. The data property holds the array ["one","two"].

Community Discussion

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