medium
Single Answer
0

In the following example, looking at the square brackets. What can be concluded? { "name": "RouterA", "interfaces": [ { "intName": "s1", "ipAddress": "209.166.183.1" }, { "intName": "e1", "ipAddress": "172.16.1.1" } ] }

Answer Options

A

The value that follows the square bracket is the value you are looking for.

B

There are several key-value pairs for the key you need.

C

The value is after the matching square bracket.

D

The value is unknown.

Correct Answer: B

Explanation

When a square bracket is in place of a value inside a JavaScript Object Notation (JSON) file, it means there is a series of key-value pairs for the initial value. These key-value pairs are often called collections. All of the other options are incorrect.

json
data-structures
arrays
collections