Skip to content

Commit 04f2167

Browse files
committed
Fixed sublist issue.
Items weren't rendering on new lines.
1 parent 696eb3e commit 04f2167

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ var converter = require('json-2-csv');
2525
* `array` - An array of JSON documents
2626
* `callback` - A function of the form `function (err, csv)`; This function will receive any errors and/or the CSV generated.
2727
* `options` - (Optional) A JSON document specifying any of {`DELIMITER`, `EOL`, `PARSE_CSV_NUMBERS`}
28-
..* `DELIMITER` - String - Field Delimiter. Default: `','`
29-
..* `EOL` - String - End of Line Delimiter. Default: `'\n'`
30-
..* `PARSE_CSV_NUMBERS` - Boolean - Should numbers that are found in the CSV be converted to numbers? Default: `false`
28+
* `DELIMITER` - String - Field Delimiter. Default: `','`
29+
* `EOL` - String - End of Line Delimiter. Default: `'\n'`
30+
* `PARSE_CSV_NUMBERS` - Boolean - Should numbers that are found in the CSV be converted to numbers? Default: `false`
3131

3232
##### json2csv Example:
3333

@@ -78,9 +78,9 @@ BMW,X5,2014,3287,M
7878
* `csv` - A string of CSV
7979
* `callback` - A function of the form `function (err, array)`; This function will receive any errors and/or the array of JSON documents generated.
8080
* `options` - (Optional) A JSON document specifying any of {`DELIMITER`, `EOL`, `PARSE_CSV_NUMBERS`}
81-
..* `DELIMITER` - String - Field Delimiter. Default: `','`
82-
..* `EOL` - String - End of Line Delimiter. Default: `'\n'`
83-
..* `PARSE_CSV_NUMBERS` - Boolean - Should numbers that are found in the CSV be converted to numbers? Default: `false`
81+
* `DELIMITER` - String - Field Delimiter. Default: `','`
82+
* `EOL` - String - End of Line Delimiter. Default: `'\n'`
83+
* `PARSE_CSV_NUMBERS` - Boolean - Should numbers that are found in the CSV be converted to numbers? Default: `false`
8484

8585
##### csv2json Example:
8686

@@ -140,4 +140,4 @@ __Yes.__ Currently, changing the order of the keys in the JSON document will als
140140

141141
## TODO
142142
- Add more comments to code
143-
- Use PARSE_CSV_NUMBERS option to actually convert numbers. Not currently implemented.
143+
- Use PARSE_CSV_NUMBERS option to actually convert numbers. Not currently implemented.

0 commit comments

Comments
 (0)