Both YAML and JSON are case-sensitive, meaning that the distinction between uppercase and lowercase characters matters. For example, in JSON or YAML,Keyandkeywould be considered different.
Option D (case-sensitive)is correct because both YAML and JSON treat keys and values with different cases as distinct.
Option Ais incorrect because, while JSON does not use indentation, YAML does rely on indentation to define structure.Option Bis incorrect because whitespace can be significant in YAML for structure, andOption Cis incorrect because JSON does not support comments, while YAML does.
Supporting References:
YAML and JSON Documentation:The official specifications for both YAML and JSON emphasize their case sensitivity.
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