CompTIA
XK0-004 · Question #24
Which of the following is a difference between YAML and JSON?
The correct answer is A. Users can comment in YAML but not in JSON. YAML has a different feature set than JSON, including but not limited to: 1. the ability to self reference 2. support for complex datatypes 3. embedded block literals
Scripting, Containers and Automation
Question
Which of the following is a difference between YAML and JSON?
Options
- AUsers can comment in YAML but not in JSON
- BJSON only curly brackets, while YAML only uses square brackets
- CJSON is used in web development, while YAML is used solely in back-end systems.
- DYAML has been deprecated for JSON.
How the community answered
(47 responses)- A94% (44)
- B4% (2)
- D2% (1)
Explanation
YAML has a different feature set than JSON, including but not limited to: 1. the ability to self reference 2. support for complex datatypes 3. embedded block literals
Topics
#YAML#JSON#data formats#configuration
Community Discussion
No community discussion yet for this question.