【发布时间】:2011-11-16 05:10:33
【问题描述】:
我正在使用 SBJson 来解析 JSON 字符串。有些请求会返回这样的想法:
{
"jsonResponse":[{
"id":"2",
"name":"Somename",
"title":"Json problem:"ErrorParsing"", //problem is here. with double quotations. how to remove them or remove error? When i delete brackets before and after ErrorParsing, it works good.
"otherinfo":"blabla",
}]
}
【问题讨论】:
-
我不确定你所说的双括号是什么意思。无论如何,这不是一个有效的 JSON 字符串,因此它可能是您正在使用的 Web 服务中的问题。
-
双括号它是括号中的括号,例如:“Hello“World””
-
那么这是Web服务问题。谢谢
-
修复了这个问题。他指的不是括号,而是引号。
标签: objective-c ios parsing error-handling sbjson