无法读取JSON:意外字符(“[”(代码91)):应使用冒号分隔字段名和值

无法读取JSON:意外字符(“[”(代码91)):应使用冒号分隔字段名和值,json,Json,我的Json代码 { "referenceId":"referenceId0", "operation":"UPDATE", "circleList" [ { "circleCode":"RJ/OR/AP", "circleName":"Rajasthan/Orissa/Andhra Pradesh" }, { "circleCode":"RJ/O

我的Json代码

{
    "referenceId":"referenceId0",
    "operation":"UPDATE",
    "circleList" [  
        {
            "circleCode":"RJ/OR/AP", 
            "circleName":"Rajasthan/Orissa/Andhra Pradesh"
        },
        {
            "circleCode":"RJ/OR/AP", 
            "circleName":"Rajasthan/Orissa/Andhra Pradesh",
        }
    ]
}

error message : {
   "responseCode": "1",
   "message": "System error: Could not read JSON: Unexpected character ('[' (code 91)): was expecting a colon to separate field name and value\n at [Source: org.apache.catalina.connector.CoyoteInputStream@157ba3f; line: 4, column: 16]; nested exception is org.codehaus.jackson.JsonParseException: Unexpected character ('[' (code 91)): was expecting a colon to separate field name and value\n at [Source: org.apache.catalina.connector.CoyoteInputStream@157ba3f; line: 4, column: 16]"
}
JSON无效,在这里

圈表[ 需要补充:

应该是


圆圈列表:[

第1步:至少看一眼。尝试使用验证JSON。我在下面添加了正确的JSON。JSON无效,您必须添加:如上所述。此外,删除额外的圆圈名称:拉贾斯坦邦/奥里萨邦/安得拉邦,应为圆圈名称:拉贾斯坦邦/奥里萨邦/安得拉邦。因此,有效的JSON应为:{referenceId:referenceId0,操作:更新,圆圈列表:[{圆圈代码:RJ/OR/AP,圆圈名称:拉贾斯坦邦/奥里萨邦/安得拉邦},{圆圈代码:RJ/OR/AP,圆圈名称:拉贾斯坦邦/奥里萨邦/安得拉邦}