File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,9 @@ var converter = require('json-2-csv');
35
35
* ` ARRAY ` - String - Array Value Delimiter. Default: ` ';' `
36
36
* ` WRAP ` - String - Wrap values in the delimiter of choice (e.g. wrap values in quotes). Default: ` null `
37
37
* ` EOL ` - String - End of Line Delimiter. Default: ` '\n' `
38
- * ` PARSE_CSV_NUMBERS ` - Boolean - Should numbers that are found in the CSV be converted to numbers? Default: ` false `
38
+ * ` KEYS ` - Array - Specify the keys (as strings) that should be converted. Default: ` null `
39
+ * If you have a nested object (ie. {info : {name: 'Mike'}}), then set options.KEYS to [ 'info.name']
40
+ * If you want all keys to be converted, then specify ``` null ``` or don't specify the option to utilize the default.
39
41
40
42
##### json2csv Example:
41
43
@@ -206,4 +208,4 @@ Joe,Freshman
206
208
207
209
## Milestones
208
210
- Created: Apr 23, 2014
209
- - 1K Downloads/Month: January 15, 2015
211
+ - 1K Downloads/Month: January 15, 2015
You can’t perform that action at this time.
0 commit comments