我正在编写 JSON 文件的以下代码以将其发布到我的网站
{
fleetSubscriberId:
{
subscriberId: "The subscriberId used during login",
name: "Subscriber name",
groupId: "Subscriber group ID",
companyCode: "Subscriber company code"
},
fleetPolicySummaries:
[
{
policyNumber: "1234", companyCode: "456"
}
],
{
"companyName": "Natural Resources Canada",
"locations":
[
{
"streetAddress": "580 Booth St 17th Fl Room a6",
"city": "Ottawa",
"stateOrProvince": "Ontario",
"country": "Canada"
}
]
}
}
它显示以下错误可以任何人帮助我解决这个问题
Error: Parse error on line 1:
{ fleetSubscriberId:
-----^
Expecting 'STRING', '}', got 'undefined'