我的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]"
}
答案 0 :(得分:3)
JSON
无效,此处
"circleList" [
需要添加:
应该是
"circleList": [