CSV is compact for tables; JSON preserves types and nested structures.
// CSV name,active Alice,true // JSON [{"name": "Alice", "active": true}]
Use CSV for spreadsheet exchange and JSON for complex typed data.