After running the code through jsonlint, it flagged an error on line 17. However, upon close inspection of the file which contains about 1000 lines, I couldn't pinpoint the issue. It's possible that the problem lies further down the file, but I wanted to reach out to the community here for assistance since no errors are visible to me at the moment.
{
"Blue Tag" : {
"Queries" : {
"DepartmentID" : {
"name" : "Departments",
"params" : ["1"],
"options": []
},
"ZoneID" : {
"name" : "Zones",
"params" : [
"1",
"Department" : { // encountering an error in this section
"ref" : "true",
"returns" : "value"
}
],
"options": []
},
"MachineID" : {
"name" : "Machines",
"params" : [
"1",
"Department" : {
"ref" : true,
"returns" : "value"
},
"Zone" : {
"ref" : true,
"returns" : "value"
}
],
"options": []
}
},
"Emails" : ["*@*.com","*@*.com"],
"PK" : "ID",
"Table" : "BlueTags",
"Connection" : "Safety"
}
}
The specific error message received is as follows:
Parse error on line 17:
... "Department": {
-----------------------^
Expecting '}', ',', ']'