The difference between YAML and JSON in terms of data structure representation is that YAML uses indentation to indicate structure, while JSON uses brackets and braces.
A. YAML uses spaces; JSON uses parentheses - Incorrect. JSON does not use parentheses. B. YAML uses indentation; JSON uses brackets and braces - Correct. YAML relies on indentation for structure, whereas JSON uses brackets and braces. C. YAML uses brackets and braces; JSON uses indentation - Incorrect. This is the opposite of the correct statement. D. YAML uses parentheses; JSON uses spaces - Incorrect. Neither format uses these exclusively.
References:
YAML vs. JSON
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit