• Post author:
  • Post category:Blog
  • Reading time:2 mins read
  • Post last modified:June 12, 2024

In JSON, what is held within square brackets [ ]?

  • an array
  • an object
  • key/value pairs
  • nested values
Explanation & Hint:

In JSON (JavaScript Object Notation), square brackets [ ] are used to hold an array. An array is an ordered collection of values, which can be strings, numbers, objects, other arrays, booleans, or null values. Here’s an example of a JSON array:

{
"colors": ["red", "green", "blue"]
}

In this example, “colors” is an array consisting of three string values.

For more Questions and Answers:

CCNA 3 v7 – ENSA v7.02 Final Exam Answers Full 100%

Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments