Skip to content

Commit a87301b

Browse files
authored
Update README.md
1 parent a05d14e commit a87301b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Looking for examples? Check out the Wiki: [json-2-csv Wiki](https://github.com/m
9191
* `[ 'key1', 'key2', ... ]`
9292
* `[ { field: 'key1', title: 'Key 1' }, { field: 'key2' }, 'key3', ... ]`
9393
* Key Paths - If you are converting a nested object (ie. {info : {name: 'Mike'}}), then set this to ['info.name']
94-
* `parseValue` - Function - Specify how values should be converted into CSV format. This function is provided a single field value at a time and must return a `String`.
94+
* `parseValue` - Function - Specify how values should be converted into CSV format. This function is provided a single field value at a time and must return a `String`. The built-in parsing method is provided as the second argument for cases where default parsing is preferred.
9595
* Default: A built-in method is used to parse out a variety of different value types to well-known formats.
9696
* Note: Using this option may override other options, including `useDateIso8601Format` and `useLocaleFormat`.
9797
* `prependHeader` - Boolean - Should the auto-generated header be prepended as the first line in the CSV?

0 commit comments

Comments
 (0)