JNCIA-DevOps: Juniper Networks Certified Associate – Automation (2021) — Question 4

What is a valid JSON object?

Answer options

Correct answer: B

Explanation

The correct answer is B, as it correctly uses key-value pairs enclosed in curly braces, which defines a JSON object. Option A is just a string, C is an array, and D improperly uses commas instead of colons to separate key-value pairs, making them invalid JSON formats.