CCNA: Cisco Certified Network Associate — Question 255

Which of the following is the JSON encoding of a dictionary or hash?

Answer options

Correct answer: A

Explanation

Option A is correct because it uses curly braces and a key-value format that is standard in JSON for representing objects. Options B and C are incorrect as they either represent an array or use an incorrect format for a JSON object. Option D is also incorrect because it uses parentheses instead of the required curly braces.