1 changed files with 16 additions and 1 deletions
@ -1,4 +1,19 @@ |
|||||||
jquery.parse |
jquery.parse |
||||||
============ |
============ |
||||||
|
|
||||||
Robust, efficient CSV parsing (with any delimiting character) |
Robust, efficient CSV parsing (with nearly any delimiting character) |
||||||
|
|
||||||
|
|
||||||
|
Basic usage |
||||||
|
----------- |
||||||
|
|
||||||
|
```javascript |
||||||
|
results = $.parse(csvString, { |
||||||
|
delimiter: "\t", |
||||||
|
header: true |
||||||
|
}); |
||||||
|
``` |
||||||
|
|
||||||
|
The default delimiter is `,` but can be set to anything anything except `"` or `\n`. |
||||||
|
|
||||||
|
By default, a header row is expected. The output and error handling depends on whether you include a header row with your data. |
Loading…
Reference in new issue