Developing Applications and Automating Workflows Using Cisco Platforms (DEVASC) — Question 181

What is the difference between YAML and JSON data structure?

Answer options

Correct answer: B

Explanation

The correct answer is B because YAML relies on indentation to denote structure, while JSON uses brackets and braces to define objects and arrays. The other options incorrectly describe the syntax and structure of either YAML or JSON.