csvToJson:将CSV文件转换为JSON

上传者: 42129970 | 上传时间: 2022-04-07 13:21:57 | 文件大小: 40KB | 文件类型: ZIP
CSV转JSON 该项目不依赖于其他软件包或库。 目录 描述 使用Node.js将csv文件转换为JSON文件。 输入如下文件: 名字 姓 电子邮件 性别 年龄 压缩 注册 康斯坦丁 兰斯顿 男 96 123 真正 诺拉 理由 女 32 假 例如: first_name;last_name;email;gender;age;zip;registered Constantin;Langsdon;clangsdon0@hc360.com;Male;96;123;true Norah;Raison;nraison1@wired.com;Female;32;;false 将产生: [ { " first_name " : " Constantin " , " last_name " : " Langsdon " , " email " : " clangsdon0@hc360.com " , " gender " : " Male " , " age " : " 96 " , " zip " : " 123 " , " registered "

文件下载

资源详情

[{"title":"( 24 个子文件 40KB ) csvToJson:将CSV文件转换为JSON","children":[{"title":"csvToJson-master","children":[{"title":"index.js <span style='color:#111;'> 3.20KB </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 851B </span>","children":null,"spread":false},{"title":".github","children":[{"title":"workflows","children":[{"title":"nodejs.yml <span style='color:#111;'> 458B </span>","children":null,"spread":false},{"title":"codeql-analysis.yml <span style='color:#111;'> 2.31KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"test","children":[{"title":"encoding.spec.js <span style='color:#111;'> 597B </span>","children":null,"spread":false},{"title":"index.spec.js <span style='color:#111;'> 4.83KB </span>","children":null,"spread":false},{"title":"resource","children":[{"title":"input_utf8_encode.csv <span style='color:#111;'> 160B </span>","children":null,"spread":false},{"title":"input_latin1_encode.csv <span style='color:#111;'> 32.63KB </span>","children":null,"spread":false},{"title":"input_tilde_delimiter.csv <span style='color:#111;'> 188B </span>","children":null,"spread":false},{"title":"input_example_sub_array.csv <span style='color:#111;'> 197B </span>","children":null,"spread":false},{"title":"input.csv <span style='color:#111;'> 188B </span>","children":null,"spread":false},{"title":"input_example.csv <span style='color:#111;'> 614B </span>","children":null,"spread":false}],"spread":true},{"title":"stringUtils.spec.js <span style='color:#111;'> 3.22KB </span>","children":null,"spread":false}],"spread":true},{"title":"_config.yml <span style='color:#111;'> 27B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 34.32KB </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 42.28KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"csvToJson.js <span style='color:#111;'> 3.09KB </span>","children":null,"spread":false},{"title":"util","children":[{"title":"fileUtils.js <span style='color:#111;'> 474B </span>","children":null,"spread":false},{"title":"jsonUtils.js <span style='color:#111;'> 258B </span>","children":null,"spread":false},{"title":"stringUtils.js <span style='color:#111;'> 821B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".npmignore <span style='color:#111;'> 4B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 45B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 6.26KB </span>","children":null,"spread":false},{"title":".jshintrc <span style='color:#111;'> 5.85KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明