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');
3535 * ` ARRAY ` - String - Array Value Delimiter. Default: ` ';' `
3636 * ` WRAP ` - String - Wrap values in the delimiter of choice (e.g. wrap values in quotes). Default: ` null `
3737 * ` 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.
3941
4042##### json2csv Example:
4143
@@ -206,4 +208,4 @@ Joe,Freshman
206208
207209## Milestones
208210 - 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