📜  json2csv 解析与展平示例 javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:58.605000             🧑  作者: Mango

代码示例1
const { Parser } = require('json2csv');
const json2csvParser = new Parser({ unwind: paths, unwindBlank: true, flatten: true, flattenSeparator: '__' });
const csv = json2csvParser.parse(myData);