Data Preparation for ML and AI
Which text format natively represents named fields, nested objects, and arrays without flattening records?
Show the answer
Correct answerC. JSON
AWhy not this: CSV has no native object or array structure; nested content requires additional encoding conventions.
BWhy not this: ORC supports complex types but is a binary columnar format, not a text format.
CWhy this is right: JSON natively represents named properties, nested objects, and arrays in text.
DWhy not this: Parquet supports nested data but is a binary columnar format, not a text format.
JSON is a text format with native objects and arrays. CSV represents rows of delimited fields and needs additional conventions to encode nested structures; Parquet and ORC support complex types but are binary formats.