In this JSON schema, what is represented on line 3?
Choose an answer
Tap an option to check your answer.
Correct answer: object.
Why this is the answer
Line 3, "interface": {, represents an object. In JSON, an object is an unordered collection of key-value pairs. It begins with an opening curly brace { and ends with a closing curly brace }. The term "interface" on line 2 is a key, and the entire structure starting from line 3 and ending with line 10 is its corresponding value, which happens to be an object itself. A key is a string that identifies a value. A value can be a string, number, boolean, null, object, or array. An array is an ordered list of values, enclosed in square brackets [].
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