嗨,我下载了一个 csvkit 到我的 macbook,按照教程在此处输入链接描述一切顺利,但是当我尝试使用此命令转换 json 文件时
in2csv customers-page-1.json > customers-page-1.csv
这是错误
When converting a JSON document with a top-level dictionary element, a key must be specified.
我不知道该放什么或在哪里放置错误指定的密钥,这是我的 json 文件
{
"page":1,
"pages":132,
"count":5945,
"items":[
{
"id":74798241,
"firstName":"Edyth",
"lastName":"U.",
"fullName":"Edyth U.",
"photoUrl":null,
"photoType":null,
"gender":"unknown",
"age":null,
"organization":null,
"jobTitle":null,
"location":null,
"createdAt":"2016-03-02T04:26:52Z",
"modifiedAt":"2016-03-02T04:26:52Z"
}]}