We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 628cc3e commit fcb1025Copy full SHA for fcb1025
lib/converter.d.ts
@@ -109,6 +109,12 @@ export interface IFullOptions extends ISharedOptions {
109
* Specify the keys that should be excluded from the output.
110
*/
111
excludeKeys?: string[];
112
+
113
+ /**
114
+ * 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`.
115
+ * Note: Using this option may override other options, including `useDateIso8601Format` and `useLocaleFormat`.
116
+ */
117
+ parseValue?: (fieldValue: any) => string;
118
}
119
120
export function json2csv(data: object[],
0 commit comments