ExamGecko
Question list
Search
Search

Question 275 - 200-901 discussion

Report
Export

What is a comparison of YAML and JSON?

A.

YAML has a more consistent approach to representing data compared to JSON.

Answers
A.

YAML has a more consistent approach to representing data compared to JSON.

B.

JSON does not support comments and YAML does.

Answers
B.

JSON does not support comments and YAML does.

C.

YAML is a more verbose data structure compared to JSON.

Answers
C.

YAML is a more verbose data structure compared to JSON.

D.

JSON has more common usage in configuration management tools compared to YAML.

Answers
D.

JSON has more common usage in configuration management tools compared to YAML.

Suggested answer: B

Explanation:


Reference: https://stackoverflow.com/questions/244777/can-comments-be-used-in-jsonCan I use comments in JSON? No, JSON is a data-only format. Comments in the form //, #, or /* */,which are used in popular programming languages, are not allowed in JSON. You can add commentsto JSON as custom JSON elements that will hold your comments, but these elements will still bedata.

asked 07/10/2024
Tamilselvi R
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first