QuestionQ58

VerifiedData Serialization

Which data serialization language relies on whitespace to indicate its block structure?

Explanation

YAML uses indentation (whitespace) to represent nested structures such as mappings and sequences, much like Python's use of indentation for code blocks. In contrast, XML uses opening/closing tags, JSON uses braces and brackets, and CSV uses delimiters (commas) to separate fields — none of these rely on whitespace to convey structural hierarchy.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!