How does the YAML data format structure differ from JSON?
- YAML uses brackets and commas.
- YAML uses end tags.
- YAML uses hierarchical levels of nesting.
- YAML uses indentations.
Explanation: YAML Ain’t Markup Language (YAML) separates the key/value pairs using a colon without quotation marks. YAML also uses indentation to define its structure, without using brackets or commas. Extensible Markup Language (XML) data is enclosed within a related set of tags: <tag>data</tag>. JavaScript Object Notation (JSON) encloses key/value pairs in braces, { }. Keys must be strings within double quotation marks, “ ”. A key is separated from a value by a colon.
Exam with this question: 14.7.2 Module Quiz - Network Automation
Please login or Register to submit your answer