We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
我想说这完全取决于您需要/想要对这些文件做什么:
如果您不属于这些情况:
那么我想这三种格式都可以 ^^
在不了解更多信息的情况下,我会选择 CSV (用于导入 Excel 内容),或 JSON (出于可移植性原因)。
I'd say it all depends on what you need/want to do with those files :
If you are in none of these situations :
Then I guess all three formats will be OK ^^
Without knowing more, I would go with either CSV (for the import to Excel stuff), or JSON (for the portability reason).
我想 CSV 会更容易,因为以下几个原因:
当然,我选择为每个日志项创建一个单独的 JSON 对象并将每个日志项放在单独的行上,这不是问题。
I guess CSV would be easier because of a couple of reasons:
Of course, I you choose to create a separate JSON object for each log item and put each on a separate line, this isn't an issue.