In the JSON schema, what does "port" represent?
Choose an answer
Tap an option to check your answer.
Correct answer: key.
Why this is the answer
In JSON, data is stored as key-value pairs. A "key" is a string that acts as a unique identifier for a piece of data, while the "value" is the actual data associated with that key. In the example "port": 8080, "port" is the key, uniquely identifying the data "8080". "Value" is incorrect because 8080 would be the value, not "port". "Array" is a collection of ordered values, and "object" is an unordered collection of key-value pairs, neither of which directly represents "port" in this context.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed