如何将DBF文件转换为JSON,反之亦然? [英] How to convert DBF file to JSON and vise versa?

查看:477
本文介绍了如何将DBF文件转换为JSON,反之亦然?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将DBF文件转换为JSON并将其存储在我的MongoDB数据库中,希望将我的JSON对象转换为DBF文件.我尝试使用 Node-DBF .

I want to convert DBF File to JSON and store it in my MongoDB Database, Want my JSON Object to be converted as DBF File. I tried using Node-DBF.

我还可以使用其他 NPM 来解析DBF并转换为 Node.js 中的 JSON .

Is there any other NPM that i could use to parse DBF and convert into JSON in Node.js.

推荐答案

尝试使用 dbf-parser 用于读取dbf文件, dbf 用于从JSON生成dbf.

Try using dbf-parser for reading dbf files, dbf for generating dbf from JSON.

这篇关于如何将DBF文件转换为JSON,反之亦然?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆