1. CSV with Headers:
name,age,city John,30,New York Alice,25,London Bob,35,Paris
Converts to:
[ { "name": "John", "age": 30, "city": "New York" }, { "name": "Alice", "age": 25, "city": "London" }, { "name": "Bob", "age": 35, "city": "Paris" } ]
2. CSV without Headers:
apple,1.99,50 banana,0.99,75 orange,1.49,60
Converts to (with "First row is header" unchecked):
[ ["apple", 1.99, 50], ["banana", 0.99, 75], ["orange", 1.49, 60] ]
3. CSV with Different Delimiter (Tab):
product price quantity laptop 999.99 10 mouse 24.99 50 keyboard 59.99 30
Converts to (auto-detected delimiter):
[ { "product": "laptop", "price": 999.99, "quantity": 10 }, { "product": "mouse", "price": 24.99, "quantity": 50 }, { "product": "keyboard", "price": 59.99, "quantity": 30 } ]