macos 我可以使用什么程序来创建和编辑 json 文件?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3700469/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-21 07:12:11  来源:igfitidea点击:

What program can I use to create and edit json files?

jsonmacos

提问by djq

I'm using osx and want to create and edit json files. Is there a program that I can use to do this automatically?

我正在使用 osx 并想创建和编辑 json 文件。有没有程序可以用来自动执行此操作?

For example I have an excel file that I want to convert into JSON format. I thought I could read in the file using python and write it out according to the json schema, but I was not sure if there was an easier way to do it.

例如,我有一个要转换为 JSON 格式的 excel 文件。我以为我可以使用 python 读入文件并根据 json 模式写出它,但我不确定是否有更简单的方法来做到这一点。

采纳答案by Luca Matteis

If you want to convert an Excel document to JSON you can use something like: http://tamlyn.org/tools/csv2json/

如果要将 Excel 文档转换为 JSON,可以使用以下内容:http: //tamlyn.org/tools/csv2json/

If you're just looking to manipulate JSON data visually you can use something like: http://braincast.nl/samples/jsoneditor/

如果您只是想直观地操作 JSON 数据,您可以使用以下内容:http: //braincast.nl/samples/jsoneditor/

回答by lalitbhagtani

If your want to edit or create json file, you can use this tool http://codedestine.com/json-editor.html.It has feature to add date and its drag and drop UI makes it easy to construct json.

如果你想编辑或创建 json 文件,你可以使用这个工具http://codedestine.com/json-editor.html 。它具有添加日期的功能,它的拖放 UI 使构建 json 变得容易。